mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
do not ignore --allow-keywords if SHOW CREATE TABLE is used
This commit is contained in:
parent
71ac2606c6
commit
6bb42870e0
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue