1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fix type mismatch. Table names are represented as LEX_STRING

objects whose length is stored in a size_t type.
This commit is contained in:
Davi Arnaut
2010-05-27 18:28:24 -03:00
parent 3cc56cb5ad
commit a3d61b0bb2
4 changed files with 14 additions and 12 deletions

View File

@ -2001,7 +2001,7 @@ void update_create_info_from_table(HA_CREATE_INFO *info, TABLE *form);
bool check_and_convert_db_name(LEX_STRING *db, bool preserve_lettercase);
bool check_db_name(LEX_STRING *db);
bool check_column_name(const char *name);
bool check_table_name(const char *name, uint length);
bool check_table_name(const char *name, size_t length);
int rename_file_ext(const char * from,const char * to,const char * ext);
char *get_field(MEM_ROOT *mem, Field *field);
bool get_field(MEM_ROOT *mem, Field *field, class String *res);