1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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

@ -370,8 +370,8 @@ bool LOGGER::is_log_table_enabled(uint log_table_type)
/* Check if a given table is opened log table */
int check_if_log_table(uint db_len, const char *db, uint table_name_len,
const char *table_name, uint check_if_opened)
int check_if_log_table(size_t db_len, const char *db, size_t table_name_len,
const char *table_name, bool check_if_opened)
{
if (db_len == 5 &&
!(lower_case_table_names ?