mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
merge with 5.3
sql/sql_insert.cc: CREATE ... IF NOT EXISTS may do nothing, but it is still not a failure. don't forget to my_ok it. ****** CREATE ... IF NOT EXISTS may do nothing, but it is still not a failure. don't forget to my_ok it. sql/sql_table.cc: small cleanup ****** small cleanup
This commit is contained in:
@@ -46,13 +46,5 @@ set session optimizer_switch="index_merge";
|
||||
--error ER_WRONG_VALUE_FOR_VAR
|
||||
set session optimizer_switch="foobar";
|
||||
|
||||
--echo #
|
||||
--echo # Bug#59894 set optimizer_switch to e or d causes invalid
|
||||
--echo # memory writes/valgrind warnings
|
||||
--echo
|
||||
set global optimizer_switch = 'd'; # means default
|
||||
--error ER_WRONG_VALUE_FOR_VAR
|
||||
set global optimizer_switch = 'e';
|
||||
|
||||
SET @@global.optimizer_switch = @start_global_value;
|
||||
SELECT @@global.optimizer_switch;
|
||||
|
||||
Reference in New Issue
Block a user