1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Make innodb_plugin testsuite not to use IndexConditionPushdown or DS-MRR

(Otherwise we get different EXPLAINs for xtradb and innodb plugin).
This commit is contained in:
Sergey Petrunya
2010-10-18 16:23:05 +04:00
parent 6765cc3017
commit 851b2c3a02
2 changed files with 13 additions and 3 deletions

View File

@ -19,6 +19,9 @@ let $MYSQLD_DATADIR= `select @@datadir`;
let collation=utf8_unicode_ci;
--source include/have_collation.inc
set optimizer_switch='index_condition_pushdown=off';
set @@optimizer_use_mrr=disable;
# Save the original values of some variables in order to be able to
# estimate how much they have changed during the tests. Previously this
# test assumed that e.g. rows_deleted is 0 here and after deleting 23
@ -2543,6 +2546,9 @@ SET GLOBAL innodb_thread_concurrency = @innodb_thread_concurrency_orig;
-- enable_query_log
set optimizer_switch='index_condition_pushdown=default';
set @@optimizer_use_mrr=default;
#######################################################################
# #
# Please, DO NOT TOUCH this file as well as the innodb.result file. #