summaryrefslogtreecommitdiff
path: root/sql/log.h
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2010-05-27 18:28:24 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2010-05-27 18:28:24 -0300
commita3d61b0bb28070f60867de5d748850edd6054ff6 (patch)
treef35affb9f830d236cfd84380f8560f716cf348df /sql/log.h
parent3cc56cb5ad789bca8fac743007947d718980e774 (diff)
downloadmariadb-git-a3d61b0bb28070f60867de5d748850edd6054ff6.tar.gz
Fix type mismatch. Table names are represented as LEX_STRING
objects whose length is stored in a size_t type.
Diffstat (limited to 'sql/log.h')
-rw-r--r--sql/log.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/log.h b/sql/log.h
index 12e02969485..e12d2475d0b 100644
--- a/sql/log.h
+++ b/sql/log.h
@@ -499,8 +499,8 @@ public:
};
-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);
class Log_to_csv_event_handler: public Log_event_handler
{