mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Change optimizer_use_mrr=auto|disable|force
to be optimizer_switch flags mrr=on|off and mrr_cost_based=on|off.
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
set optimizer_use_mrr='disable';
|
||||
set @bug41996_tmp=@@optimizer_switch;
|
||||
set optimizer_switch='mrr=off';
|
||||
DROP DATABASE IF EXISTS d1;
|
||||
DROP DATABASE IF EXISTS d2;
|
||||
DROP DATABASE IF EXISTS d3;
|
||||
@ -1106,3 +1107,4 @@ c1 c2
|
||||
DROP DATABASE d1;
|
||||
DROP DATABASE d2;
|
||||
DROP DATABASE d3;
|
||||
set optimizer_switch=@bug41996_tmp;
|
||||
|
Reference in New Issue
Block a user