mariadb/client
Nisha Gopalakrishnan 5d74d07b44 BUG#15844882: MYSQLDUMP FROM 5.5 FAILS WITH AN ERROR WHEN TRYING
TO DUMP DATA FROM MYSQL-5.6

Analysis
--------
Dumping mysql-5.6 data using mysql-5.1/mysql-5.5 'myqldump'
utility fails with a syntax error.

Server system variable 'sql_quote_show_create' which quotes the
identifiers is set in the mysqldump utility. The mysldump utility
of mysql-5.1/mysql-5.5 uses deprecated syntax 'SET OPTION' to set
the 'sql_quote_show_create' option. The support for the syntax is
removed in mysql-5.6. Hence syntax error is reported while taking
the dump.

Fix:
---
Changed the 'mysqldump' code to use the syntax
'SET SQL_QUOTE_SHOW_CREATE' to set the 'sql_quote_show_create'
option. That syntax is supported on mysql-5.1, mysql-5.5 and
mysql-5.6.

NOTE: I have not added an mtr test case since it is difficult
to simulate the condition. Also the syntax may not be further
simplified in the future.
2013-07-18 11:40:08 +05:30
..
.cvsignore
client_priv.h
CMakeLists.txt
completion_hash.cc Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 13:29:12 +01:00
completion_hash.h Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 13:29:12 +01:00
echo.c Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 13:29:12 +01:00
get_password.c Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 13:29:12 +01:00
Makefile.am
my_readline.h
mysql.cc Bug#14685362 : MEMORY LEAKS IN MYSQL CLIENT IN 2013-03-18 12:44:38 +05:30
mysql_upgrade.c
mysqladmin.cc
mysqlbinlog.cc Bug#14771299 OUT-OF-BOUND READS WRITE IN MYSQLBINLOG 2013-03-18 15:01:16 +05:30
mysqlcheck.c
mysqldump.c BUG#15844882: MYSQLDUMP FROM 5.5 FAILS WITH AN ERROR WHEN TRYING 2013-07-18 11:40:08 +05:30
mysqlimport.c
mysqlshow.c
mysqlslap.c
mysqltest.cc Bug#16027468 ADDRESSSANITIZER BUG IN MYSQLTEST 2012-12-20 10:56:09 +01:00
readline.cc
sql_string.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
sql_string.h BUG#14593883-REPLICATION BREAKS WHEN SET DATA TYPE 2013-03-13 16:24:35 +05:30