summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authorSergey Glukhov <Sergey.Glukhov@sun.com>2008-12-10 18:38:27 +0400
committerSergey Glukhov <Sergey.Glukhov@sun.com>2008-12-10 18:38:27 +0400
commit52fffecb5b6a6794c56cb75289b9c2b5f97d8bf1 (patch)
treef7532cb3a6b5137d4dd5a7de27da567f9cd5415f /sql/sql_show.cc
parent1ca1439270dbb5803d27f3a76d860dc71ddf2b3f (diff)
downloadmariadb-git-52fffecb5b6a6794c56cb75289b9c2b5f97d8bf1.tar.gz
Bug#35275 INFORMATION_SCHEMA.TABLES.CREATE_OPTIONS omits KEY_BLOCK_SIZE
Added KEY_BLOCK_SIZE option to I_S.TABLES.CREATE_OPTIONS field mysql-test/r/information_schema.result: test result mysql-test/t/information_schema.test: test case sql/sql_show.cc: Added KEY_BLOCK_SIZE option to I_S.TABLES.CREATE_OPTIONS field
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index a506429fb97..3fd06aba672 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -3589,6 +3589,11 @@ static int get_schema_tables_record(THD *thd, TABLE_LIST *tables,
(share->transactional == HA_CHOICE_YES ? "1" : "0"),
NullS);
}
+ if (share->key_block_size)
+ {
+ ptr= strmov(ptr, " KEY_BLOCK_SIZE=");
+ ptr= longlong10_to_str(share->key_block_size, ptr, 10);
+ }
#ifdef WITH_PARTITION_STORAGE_ENGINE
if (is_partitioned)
ptr= strmov(ptr, " partitioned");