Commit 6bb42870 authored by serg@serg.mysql.com's avatar serg@serg.mysql.com

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

parent 71ac2606
......@@ -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))
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment