summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-01-25 10:19:35 +0100
committerSergei Golubchik <sergii@pisem.net>2013-01-25 10:19:35 +0100
commit9142c50b0751c1ee964b9b56ef2378fc2bef202c (patch)
tree9918b983ee0986eda0c6187b0254b4dbc60b3d18 /client
parentfa7d0c4fdf85c501ebb3a135d31814161e6bc9e4 (diff)
downloadmariadb-git-9142c50b0751c1ee964b9b56ef2378fc2bef202c.tar.gz
MDEV-4040 Replace deprecated SET OPTION syntax in mysqldump
mysqldump.c: s/SET OPTION/SET/ (OPTION was, hm, optional since 3.21, so there's no need to use SET OPTION even in the old compatibility modes)
Diffstat (limited to 'client')
-rw-r--r--client/mysqldump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index 3653cc93eeb..80af5185ecc 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -2513,7 +2513,7 @@ static uint get_table_structure(char *table, char *db, char *table_type,
verbose_msg("-- Retrieving table structure for table %s...\n", table);
len= my_snprintf(query_buff, sizeof(query_buff),
- "SET OPTION SQL_QUOTE_SHOW_CREATE=%d",
+ "SET SQL_QUOTE_SHOW_CREATE=%d",
(opt_quoted || opt_keywords));
if (!create_options)
strmov(query_buff+len,
@@ -5068,7 +5068,7 @@ static my_bool get_view_structure(char *table, char* db)
verbose_msg("-- Retrieving view structure for table %s...\n", table);
#ifdef NOT_REALLY_USED_YET
- sprintf(insert_pat,"SET OPTION SQL_QUOTE_SHOW_CREATE=%d",
+ sprintf(insert_pat,"SET SQL_QUOTE_SHOW_CREATE=%d",
(opt_quoted || opt_keywords));
#endif