summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authortfr@coyote.emotion.ee <>2001-02-13 08:43:14 +0200
committertfr@coyote.emotion.ee <>2001-02-13 08:43:14 +0200
commit6099884a922f5bfa5ea1d2e613978e7b517b240b (patch)
tree5496a499d08c602fa2332736dbf7655ee0615711 /sql/sql_show.cc
parentffe3029814e5d3b550e29ae42fc520774ae61284 (diff)
downloadmariadb-git-6099884a922f5bfa5ea1d2e613978e7b517b240b.tar.gz
mysqldump.c Fix to add space between index name and column definition in CREATE TABLE statement
sql_show.cc Fix to add space in SHOW CREATE TABLE between index name and column definitions
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index ecc31c4c57e..eda6731307b 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -846,7 +846,7 @@ store_create_info(THD *thd, TABLE *table, String *packet)
if(i != primary_key)
append_identifier(thd,packet,key_info->name);
- packet->append('(');
+ packet->append(" (", 2);
for (uint j=0 ; j < key_info->key_parts ; j++,key_part++)
{