diff options
author | Sergei Golubchik <sergii@pisem.net> | 2010-10-25 09:04:40 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2010-10-25 09:04:40 +0200 |
commit | d2e8c9185732ab7e8e8c2ba27634aaa5785f43ce (patch) | |
tree | 7172e79cf55f6df2815fe046d0dda2e44284ccbd | |
parent | 4e9d4b665f8bf18f8466c115e2253f700213d63f (diff) | |
download | mariadb-git-d2e8c9185732ab7e8e8c2ba27634aaa5785f43ce.tar.gz |
forgotten option handled
-rw-r--r-- | sql/sql_show.cc | 6 |
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); |