mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
client/mysqltest.c
generate a bigger reject file ( full in most cases) if the master result file is 0 length sql/sql_show.cc fixed 3 bugs in SHOW CREATE TABLE New test case shw000001 for SHOW CREATE TABLE bugs BitKeeper/etc/ignore: Added BitKeeper/tmp/bkOF1wtJ scripts/mysqldumpslow to the ignore list client/mysqltest.c: generate a bigger reject file ( full in most cases) if the master result file is 0 length sql/sql_show.cc: fixed 3 bugs in SHOW CREATE TABLE
This commit is contained in:
@ -732,7 +732,8 @@ store_create_info(THD *thd, TABLE *table, String *packet)
|
||||
type.set(tmp,sizeof(tmp));
|
||||
field->val_str(&type,&type);
|
||||
packet->append('\'');
|
||||
packet->append(type.ptr(),type.length());
|
||||
if(type.length())
|
||||
append_unescaped(packet, type.c_ptr());
|
||||
packet->append('\'');
|
||||
}
|
||||
else if (field->maybe_null())
|
||||
@ -818,6 +819,12 @@ store_create_info(THD *thd, TABLE *table, String *packet)
|
||||
packet->append(" CHECKSUM=1", 11);
|
||||
if (table->db_create_options & HA_OPTION_DELAY_KEY_WRITE)
|
||||
packet->append(" DELAY_KEY_WRITE=1",18);
|
||||
if(table->comment)
|
||||
{
|
||||
packet->append(" COMMENT='", 10);
|
||||
append_unescaped(packet, table->comment);
|
||||
packet->append('\'');
|
||||
}
|
||||
|
||||
|
||||
DBUG_RETURN(0);
|
||||
|
Reference in New Issue
Block a user