1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

After merge fixes & remove compiler warnings

Added lengths for all MYSQL_FIELD string parameters
Changed field length to 2 byte in .frm files
This commit is contained in:
monty@mashka.mysql.fi
2003-02-07 15:47:24 +02:00
parent 023d6dd39b
commit 25de9c19b2
34 changed files with 259 additions and 181 deletions

View File

@@ -528,7 +528,7 @@ int mysqld_extend_show_tables(THD *thd,const char *db,const char *wild)
table_list.db=(char*) db;
table_list.real_name= table_list.alias= file_name;
if (lower_case_table_names)
casedn_str(file_name);
my_casedn_str(files_charset_info, file_name);
if (!(table = open_ltable(thd, &table_list, TL_READ)))
{
for (uint i=0 ; i < field_list.elements ; i++)
@@ -958,7 +958,7 @@ mysqld_list_fields(THD *thd, TABLE_LIST *table_list, const char *wild)
restore_record(table,2); // Get empty record
if (thd->protocol->send_fields(&field_list,2))
DBUG_VOID_RETURN;
VOID(net_flush(&thd->net));
net_flush(&thd->net);
DBUG_VOID_RETURN;
}
@@ -981,7 +981,7 @@ mysqld_dump_create_info(THD *thd, TABLE *table, int fd)
{
if (protocol->write())
DBUG_RETURN(-1);
VOID(net_flush(&thd->net));
net_flush(&thd->net);
}
else
{