mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
Merge bk-internal.mysql.com:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
This commit is contained in:
commit
e9ac8dbc51
1 changed files with 1 additions and 3 deletions
|
@ -817,6 +817,7 @@ mysqld_show_create(THD *thd, TABLE_LIST *table_list)
|
|||
DBUG_RETURN(1);
|
||||
}
|
||||
|
||||
buffer.length(0);
|
||||
if (store_create_info(thd, table, &buffer))
|
||||
DBUG_RETURN(-1);
|
||||
|
||||
|
@ -830,9 +831,6 @@ mysqld_show_create(THD *thd, TABLE_LIST *table_list)
|
|||
DBUG_RETURN(1);
|
||||
protocol->prepare_for_resend();
|
||||
protocol->store(table->table_name, system_charset_info);
|
||||
buffer.length(0);
|
||||
if (store_create_info(thd, table, &buffer))
|
||||
DBUG_RETURN(-1);
|
||||
protocol->store(buffer.ptr(), buffer.length(), buffer.charset());
|
||||
if (protocol->write())
|
||||
DBUG_RETURN(1);
|
||||
|
|
Loading…
Reference in a new issue