do not ignore --allow-keywords if SHOW CREATE TABLE is used

This commit is contained in:
serg@serg.mysql.com 2003-02-12 20:46:40 +01:00
parent 71ac2606c6
commit 6bb42870e0

View file

@ -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))
{