Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
80e14ddb
Commit
80e14ddb
authored
Jun 03, 2011
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More changes from optimizer_use_mrr to optimizer_switch
parent
40acadc7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
mysql-test/suite/innodb_plugin/r/innodb.result
mysql-test/suite/innodb_plugin/r/innodb.result
+2
-4
mysql-test/suite/innodb_plugin/t/innodb.test
mysql-test/suite/innodb_plugin/t/innodb.test
+2
-4
No files found.
mysql-test/suite/innodb_plugin/r/innodb.result
View file @
80e14ddb
set optimizer_switch='index_condition_pushdown=off';
set optimizer_switch='index_condition_pushdown=off,mrr=off';
set @@optimizer_use_mrr=disable;
drop table if exists t1,t2,t3,t4;
drop table if exists t1,t2,t3,t4;
drop database if exists mysqltest;
drop database if exists mysqltest;
CREATE TABLE bug58912 (a BLOB, b TEXT, PRIMARY KEY(a(1))) ENGINE=InnoDB;
CREATE TABLE bug58912 (a BLOB, b TEXT, PRIMARY KEY(a(1))) ENGINE=InnoDB;
...
@@ -3244,6 +3243,5 @@ Variable_name Value
...
@@ -3244,6 +3243,5 @@ Variable_name Value
Handler_update 1
Handler_update 1
Variable_name Value
Variable_name Value
Handler_delete 1
Handler_delete 1
set optimizer_switch='index_condition_pushdown=default';
set optimizer_switch=default;
set @@optimizer_use_mrr=default;
DROP TABLE bug58912;
DROP TABLE bug58912;
mysql-test/suite/innodb_plugin/t/innodb.test
View file @
80e14ddb
...
@@ -19,8 +19,7 @@ let $MYSQLD_DATADIR= `select @@datadir`;
...
@@ -19,8 +19,7 @@ let $MYSQLD_DATADIR= `select @@datadir`;
let
collation
=
utf8_unicode_ci
;
let
collation
=
utf8_unicode_ci
;
--
source
include
/
have_collation
.
inc
--
source
include
/
have_collation
.
inc
set
optimizer_switch
=
'index_condition_pushdown=off'
;
set
optimizer_switch
=
'index_condition_pushdown=off,mrr=off'
;
set
@@
optimizer_use_mrr
=
disable
;
# Save the original values of some variables in order to be able to
# Save the original values of some variables in order to be able to
# estimate how much they have changed during the tests. Previously this
# estimate how much they have changed during the tests. Previously this
...
@@ -2555,8 +2554,7 @@ SET GLOBAL innodb_thread_concurrency = @innodb_thread_concurrency_orig;
...
@@ -2555,8 +2554,7 @@ SET GLOBAL innodb_thread_concurrency = @innodb_thread_concurrency_orig;
--
enable_query_log
--
enable_query_log
set
optimizer_switch
=
'index_condition_pushdown=default'
;
set
optimizer_switch
=
default
;
set
@@
optimizer_use_mrr
=
default
;
# Clean up after the Bug#55284/Bug#58912 test case.
# Clean up after the Bug#55284/Bug#58912 test case.
DROP
TABLE
bug58912
;
DROP
TABLE
bug58912
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment