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
58243b00
Commit
58243b00
authored
Nov 24, 2011
by
Igor Babaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Currently innodb_plugin does not support ICP. Part2.
parent
c43fe206
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
mysql-test/suite/innodb_plugin/r/innodb_lock_wait_timeout_1.result
...t/suite/innodb_plugin/r/innodb_lock_wait_timeout_1.result
+4
-1
mysql-test/suite/innodb_plugin/t/innodb_lock_wait_timeout_1.test
...est/suite/innodb_plugin/t/innodb_lock_wait_timeout_1.test
+3
-0
No files found.
mysql-test/suite/innodb_plugin/r/innodb_lock_wait_timeout_1.result
View file @
58243b00
...
...
@@ -304,6 +304,8 @@ begin;
# is retreived and processed first.
#
# Verify that JT_EQ_REF is used.
set @tmp_optimizer_switch=@@optimizer_switch;
set optimizer_switch='index_condition_pushdown=off';
explain
select 1 from t1 natural join (select 3 as a, 2 as b union all
select 3 as a, 1 as b) as t2 for update;
...
...
@@ -326,7 +328,7 @@ key PRIMARY
key_len 4
ref t2.a
rows 1
Extra Using
index condition; Using
where
Extra Using where
id 2
select_type DERIVED
table NULL
...
...
@@ -357,6 +359,7 @@ key_len NULL
ref NULL
rows NULL
Extra
set optimizer_switch=@tmp_optimizer_switch;
# Lock the record.
select 1 from t1 natural join (select 3 as a, 2 as b union all
select 3 as a, 1 as b) as t2 for update;
...
...
mysql-test/suite/innodb_plugin/t/innodb_lock_wait_timeout_1.test
View file @
58243b00
...
...
@@ -239,9 +239,12 @@ begin;
--
echo
#
--
echo
# Verify that JT_EQ_REF is used.
--
vertical_results
set
@
tmp_optimizer_switch
=@@
optimizer_switch
;
set
optimizer_switch
=
'index_condition_pushdown=off'
;
explain
select
1
from
t1
natural
join
(
select
3
as
a
,
2
as
b
union
all
select
3
as
a
,
1
as
b
)
as
t2
for
update
;
set
optimizer_switch
=@
tmp_optimizer_switch
;
--
horizontal_results
--
echo
# Lock the record.
select
1
from
t1
natural
join
(
select
3
as
a
,
2
as
b
union
all
...
...
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