diff options
author | Nisha Gopalakrishnan <nisha.gopalakrishnan@oracle.com> | 2013-07-18 11:40:08 +0530 |
---|---|---|
committer | Nisha Gopalakrishnan <nisha.gopalakrishnan@oracle.com> | 2013-07-18 11:40:08 +0530 |
commit | 30a37ca99b7454de9382346901b0caeb9bf8c8cd (patch) | |
tree | a5a874d66b6c7ab99b9136ae032f929e5341c992 /netware/mysql_waitpid.def | |
parent | c088c9c4c5f84b7f9f0b1d8bc49d1fce89317c88 (diff) | |
download | mariadb-git-30a37ca99b7454de9382346901b0caeb9bf8c8cd.tar.gz |
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.
Diffstat (limited to 'netware/mysql_waitpid.def')
0 files changed, 0 insertions, 0 deletions