summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2010-10-25 09:04:40 +0200
committerSergei Golubchik <sergii@pisem.net>2010-10-25 09:04:40 +0200
commit37a78d6868d0e25d286299c91d5787fb6733844d (patch)
tree7172e79cf55f6df2815fe046d0dda2e44284ccbd /sql/sql_show.cc
parent62d31f675d43a703ff01406a0a79421aad94f232 (diff)
downloadmariadb-git-37a78d6868d0e25d286299c91d5787fb6733844d.tar.gz
forgotten option handled
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index cae33661b87..8cd2df59729 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -4181,8 +4181,10 @@ static int get_schema_tables_record(THD *thd, TABLE_LIST *tables,
str.qs_append(STRING_WITH_LEN(" partitioned"));
#endif
if (share->transactional != HA_CHOICE_UNDEF)
- ptr= strxmov(ptr, " transactional=",
- ha_choice_values[(uint) share->transactional], NullS);
+ {
+ str.qs_append(STRING_WITH_LEN(" transactional="));
+ str.qs_append(ha_choice_values[(uint) share->transactional]);
+ }
append_create_options(thd, &str, share->option_list);
if (str.length())
table->field[19]->store(str.ptr()+1, str.length()-1, cs);