Browse Source

compiler warning fix

pull/374/head
Sergey Glukhov 17 years ago
parent
commit
4794f463b6
  1. 2
      sql/mysqld.cc
  2. 2
      sql/sql_acl.cc

2
sql/mysqld.cc

@ -3616,6 +3616,7 @@ void decrement_handler_count()
#endif /* defined(__NT__) || defined(HAVE_SMEM) */
#ifndef EMBEDDED_LIBRARY
#ifndef DBUG_OFF
/*
Debugging helper function to keep the locale database
@ -3654,7 +3655,6 @@ static void test_lc_time_sz()
#endif//DBUG_OFF
#ifndef EMBEDDED_LIBRARY
#ifdef __WIN__
int win_main(int argc, char **argv)
#else

2
sql/sql_acl.cc

@ -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,
const char* db, const char* t_name,
const char* column, uint col_length,
@ -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);
return schema_table_store_record(thd, table);
}
#endif
int fill_schema_user_privileges(THD *thd, TABLE_LIST *tables, COND *cond)

Loading…
Cancel
Save