diff options
author | unknown <serg@serg.mysql.com> | 2003-02-12 20:46:40 +0100 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2003-02-12 20:46:40 +0100 |
commit | 18994cb0b78360739104dc40131f0bc562a5ad6f (patch) | |
tree | 927344dca1c9df3ca3669c4baf63c05d3ede428b /client/mysqldump.c | |
parent | 11359938a511e2424fe6df6fffe3fa5c3f5e2d7d (diff) | |
download | mariadb-git-18994cb0b78360739104dc40131f0bc562a5ad6f.tar.gz |
do not ignore --allow-keywords if SHOW CREATE TABLE is used
Diffstat (limited to 'client/mysqldump.c')
-rw-r--r-- | client/mysqldump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c index 023e35cf7c9..da02c49dd69 100644 --- a/client/mysqldump.c +++ b/client/mysqldump.c @@ -568,7 +568,7 @@ static uint getTableStructure(char *table, char* db) if (verbose) fprintf(stderr, "-- Retrieving table structure for table %s...\n", table); - sprintf(insert_pat,"SET OPTION SQL_QUOTE_SHOW_CREATE=%d", opt_quoted); + sprintf(insert_pat,"SET OPTION SQL_QUOTE_SHOW_CREATE=%d", (opt_quoted || opt_keywords)); table_name=quote_name(table,table_buff); if (!mysql_query(sock,insert_pat)) { |