summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authorunknown <msvensson@shellback.(none)>2006-09-01 11:23:08 +0200
committerunknown <msvensson@shellback.(none)>2006-09-01 11:23:08 +0200
commit4991cc07e5ec7a982145fa74539977bcedb0af30 (patch)
treef8c7e6cc8b0bf666906a0c4e12e7ac8ba06ba7cb /sql/sql_show.cc
parent22d76f5a5520f384985e7de1dc30b2c3cd4d0feb (diff)
parent5d58edf00ffb3ebdb857dfe3d07e6aff0343b0ed (diff)
downloadmariadb-git-4991cc07e5ec7a982145fa74539977bcedb0af30.tar.gz
Merge shellback.(none):/home/msvensson/mysql/mysql-5.1
into shellback.(none):/home/msvensson/mysql/mysql-5.1-new-maint configure.in: Auto merged include/mysql_com.h: Auto merged mysql-test/lib/mtr_process.pl: Auto merged mysql-test/mysql-test-run.pl: Auto merged mysql-test/r/grant.result: Auto merged mysql-test/r/partition.result: Auto merged mysql-test/r/partition_mgm.result: Auto merged mysql-test/t/disabled.def: Auto merged mysql-test/t/grant.test: Auto merged sql/item_strfunc.cc: Auto merged sql/item_strfunc.h: Auto merged sql/mysqld.cc: Auto merged sql/sql_acl.cc: Auto merged sql/sql_show.cc: Auto merged
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index a8bf2695ac4..92e450f8efc 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -1227,9 +1227,10 @@ int store_create_info(THD *thd, TABLE_LIST *table_list, String *packet,
store_key_options(thd, packet, table, key_info);
if (key_info->parser)
{
- packet->append(" WITH PARSER ", 13);
+ packet->append(STRING_WITH_LEN(" /*!50100 WITH PARSER "));
append_identifier(thd, packet, key_info->parser->name.str,
key_info->parser->name.length);
+ packet->append(STRING_WITH_LEN(" */ "));
}
}
@@ -1255,9 +1256,9 @@ int store_create_info(THD *thd, TABLE_LIST *table_list, String *packet,
if ((for_str= file->get_tablespace_name(thd)))
{
- packet->append(" TABLESPACE ");
+ packet->append(STRING_WITH_LEN(" /*!50100 TABLESPACE "));
packet->append(for_str, strlen(for_str));
- packet->append(" STORAGE DISK");
+ packet->append(STRING_WITH_LEN(" STORAGE DISK */"));
my_free(for_str, MYF(0));
}
@@ -1296,7 +1297,7 @@ int store_create_info(THD *thd, TABLE_LIST *table_list, String *packet,
if(create_info.auto_increment_value > 1)
{
- packet->append(" AUTO_INCREMENT=", 16);
+ packet->append(STRING_WITH_LEN(" AUTO_INCREMENT="));
end= longlong10_to_str(create_info.auto_increment_value, buff,10);
packet->append(buff, (uint) (end - buff));
}