mirror of
https://github.com/MariaDB/server.git
synced 2026-04-25 09:45:31 +02:00
MDEV-16471 mysqldump throws "Variable 'sql_mode' can't be set to the value of 'NULL' (1231)"
This commit is contained in:
parent
9dc81f7d38
commit
bcc2100f9d
5 changed files with 69 additions and 2 deletions
|
|
@ -554,3 +554,26 @@ BEGIN
|
|||
END;
|
||||
$$
|
||||
DELIMITER ;$$
|
||||
|
||||
--echo #
|
||||
--echo # End of 10.2 tests
|
||||
--echo #
|
||||
|
||||
--echo #
|
||||
--echo # Start of 10.3 tests
|
||||
--echo #
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-16471 mysqldump throws "Variable 'sql_mode' can't be set to the value of 'NULL' (1231)"
|
||||
--echo #
|
||||
|
||||
SET sql_mode='ORACLE,EMPTY_STRING_IS_NULL';
|
||||
SELECT @@sql_mode;
|
||||
SELECT '' AS empty;
|
||||
SET sql_mode='';
|
||||
SELECT @@sql_mode;
|
||||
SET sql_mode=DEFAULT;
|
||||
|
||||
--echo #
|
||||
--echo # End of 10.3 tests
|
||||
--echo #
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue