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

fix some warnings in sql_help.cc

sql/sql_help.cc:
  fix some warnings
This commit is contained in:
unknown
2003-05-30 14:08:58 -04:00
parent 69e084af1e
commit c284a71287

View File

@ -557,7 +557,7 @@ int send_variant_2_list(MEM_ROOT *mem_root, Protocol *protocol,
List_iterator<String> it(*names); List_iterator<String> it(*names);
String *cur_name; String *cur_name;
while (*pos++= it++); while ((*pos++= it++));
qsort(pointers,names->elements,sizeof(String*),string_ptr_cmp); qsort(pointers,names->elements,sizeof(String*),string_ptr_cmp);
@ -689,7 +689,7 @@ int mysqld_help(THD *thd, const char *mask)
goto end; goto end;
} }
for (int i=0; i<sizeof(tables)/sizeof(TABLE_LIST); i++) for (size_t i=0; i<sizeof(tables)/sizeof(TABLE_LIST); i++)
tables[i].table->file->init_table_handle_for_HANDLER(); tables[i].table->file->init_table_handle_for_HANDLER();
if (!(select_topics_by_name= if (!(select_topics_by_name=