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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
363094f6
Commit
363094f6
authored
Oct 28, 2011
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make innodb_no_mrricp.test to really run with MRR and ICP turned OFF.
parent
21627048
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
mysql-test/r/innodb_no_mrricp.result
mysql-test/r/innodb_no_mrricp.result
+4
-4
mysql-test/t/innodb_no_mrricp.test
mysql-test/t/innodb_no_mrricp.test
+1
-1
No files found.
mysql-test/r/innodb_no_mrricp.result
View file @
363094f6
set @innodb_with_mrricp=@@optimizer_switch;
set optimizer_switch='mrr=o
n,mrr_sort_keys=on,index_condition_pushdown=on
';
set optimizer_switch='mrr=o
ff,mrr_sort_keys=off,index_condition_pushdown=off
';
set @innodb_test_dont_touch_optimizer_switch=1;
set @innodb_test_tmp=@@optimizer_switch;
set optimizer_switch =
...
...
@@ -1303,7 +1303,7 @@ count(*)
623
explain select * from t1 where c between 1 and 2500;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 range c c 5 NULL # Using
index condition; Rowid-ordered scan
1 SIMPLE t1 range c c 5 NULL # Using
where
update t1 set c=a;
explain select * from t1 where c between 1 and 2500;
id select_type table type possible_keys key key_len ref rows Extra
...
...
@@ -1998,7 +1998,7 @@ qq
*a
*a*a *
explain select * from t1 where v='a';
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ref v,v_2 # 13 const # Using
index condition
1 SIMPLE t1 ref v,v_2 # 13 const # Using
where
select v,count(*) from t1 group by v limit 10;
v count(*)
a 1
...
...
@@ -2174,7 +2174,7 @@ id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ref v v 303 const # Using where; Using index
explain select * from t1 where v='a';
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ref v v 303 const # Using
index condition
1 SIMPLE t1 ref v v 303 const # Using
where
select v,count(*) from t1 group by v limit 10;
v count(*)
a 1
...
...
mysql-test/t/innodb_no_mrricp.test
View file @
363094f6
set
@
innodb_with_mrricp
=@@
optimizer_switch
;
set
optimizer_switch
=
'mrr=o
n,mrr_sort_keys=on,index_condition_pushdown=on
'
;
set
optimizer_switch
=
'mrr=o
ff,mrr_sort_keys=off,index_condition_pushdown=off
'
;
set
@
innodb_test_dont_touch_optimizer_switch
=
1
;
--
source
t
/
innodb
.
test
...
...
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