mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Fix of selectivity test to behave correctly with embedded and view protocols.
This commit is contained in:
16
mysql-test/main/selectivity_innodb_notembedded.test
Normal file
16
mysql-test/main/selectivity_innodb_notembedded.test
Normal file
@ -0,0 +1,16 @@
|
||||
--source include/have_innodb.inc
|
||||
# This test is slow on buildbot.
|
||||
--source include/big_test.inc
|
||||
--source include/default_optimizer_switch.inc
|
||||
--source include/not_embedded.inc
|
||||
|
||||
SET SESSION STORAGE_ENGINE='InnoDB';
|
||||
|
||||
set @save_optimizer_switch_for_selectivity_test=@@optimizer_switch;
|
||||
set optimizer_switch='extended_keys=on';
|
||||
|
||||
--source selectivity_notembedded.test
|
||||
|
||||
set optimizer_switch=@save_optimizer_switch_for_selectivity_test;
|
||||
|
||||
SET SESSION STORAGE_ENGINE=DEFAULT;
|
Reference in New Issue
Block a user