Commit 4794f463 authored by Sergey Glukhov's avatar Sergey Glukhov

compiler warning fix

parent e1383368
...@@ -3616,6 +3616,7 @@ void decrement_handler_count() ...@@ -3616,6 +3616,7 @@ void decrement_handler_count()
#endif /* defined(__NT__) || defined(HAVE_SMEM) */ #endif /* defined(__NT__) || defined(HAVE_SMEM) */
#ifndef EMBEDDED_LIBRARY
#ifndef DBUG_OFF #ifndef DBUG_OFF
/* /*
Debugging helper function to keep the locale database Debugging helper function to keep the locale database
...@@ -3654,7 +3655,6 @@ static void test_lc_time_sz() ...@@ -3654,7 +3655,6 @@ static void test_lc_time_sz()
#endif//DBUG_OFF #endif//DBUG_OFF
#ifndef EMBEDDED_LIBRARY
#ifdef __WIN__ #ifdef __WIN__
int win_main(int argc, char **argv) int win_main(int argc, char **argv)
#else #else
......
...@@ -5953,6 +5953,7 @@ int wild_case_compare(CHARSET_INFO *cs, const char *str,const char *wildstr) ...@@ -5953,6 +5953,7 @@ int wild_case_compare(CHARSET_INFO *cs, const char *str,const char *wildstr)
} }
#ifndef NO_EMBEDDED_ACCESS_CHECKS
static bool update_schema_privilege(THD *thd, TABLE *table, char *buff, static bool update_schema_privilege(THD *thd, TABLE *table, char *buff,
const char* db, const char* t_name, const char* db, const char* t_name,
const char* column, uint col_length, const char* column, uint col_length,
...@@ -5973,6 +5974,7 @@ static bool update_schema_privilege(THD *thd, TABLE *table, char *buff, ...@@ -5973,6 +5974,7 @@ static bool update_schema_privilege(THD *thd, TABLE *table, char *buff,
table->field[i]->store(is_grantable, strlen(is_grantable), cs); table->field[i]->store(is_grantable, strlen(is_grantable), cs);
return schema_table_store_record(thd, table); return schema_table_store_record(thd, table);
} }
#endif
int fill_schema_user_privileges(THD *thd, TABLE_LIST *tables, COND *cond) int fill_schema_user_privileges(THD *thd, TABLE_LIST *tables, COND *cond)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment