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
46385ce0
Commit
46385ce0
authored
Apr 21, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for BUG#9912: make the test handle both possible optimizer choices
parent
e01280f4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
mysql-test/r/index_merge_ror.result
mysql-test/r/index_merge_ror.result
+3
-3
mysql-test/t/index_merge_ror.test
mysql-test/t/index_merge_ror.test
+1
-0
No files found.
mysql-test/r/index_merge_ror.result
View file @
46385ce0
...
@@ -180,9 +180,9 @@ count(a)
...
@@ -180,9 +180,9 @@ count(a)
select count(a) from t2 where b='BBBBBBBB';
select count(a) from t2 where b='BBBBBBBB';
count(a)
count(a)
4
4
expla
in select count(a) from t2 where a='AAAAAAAA' and
b='AAAAAAAA';
expla
_or_bin select count(a_or_b) from t2 where a_or_b='AAAAAAAA' a_or_bnd a_or_
b='AAAAAAAA';
id select_type ta
ble type possible_keys key key_len ref rows Extra
id select_type ta
_or_ba_or_ble type possia_or_ble_keys key key_len ref rows Extra_or_b
1 SIMPLE t2 ref a
,b a
6 const 4 Using where
1 SIMPLE t2 ref a
_or_b,a_or_b a_or_b
6 const 4 Using where
select count(a) from t2 where a='AAAAAAAA' and b='AAAAAAAA';
select count(a) from t2 where a='AAAAAAAA' and b='AAAAAAAA';
count(a)
count(a)
4
4
...
...
mysql-test/t/index_merge_ror.test
View file @
46385ce0
...
@@ -240,6 +240,7 @@ select count(a) from t2 where a='BBBBBBBB';
...
@@ -240,6 +240,7 @@ select count(a) from t2 where a='BBBBBBBB';
select
count
(
a
)
from
t2
where
b
=
'BBBBBBBB'
;
select
count
(
a
)
from
t2
where
b
=
'BBBBBBBB'
;
# BUG#1:
# BUG#1:
--
replace_result
a
a_or_b
b
a_or_b
explain
select
count
(
a
)
from
t2
where
a
=
'AAAAAAAA'
and
b
=
'AAAAAAAA'
;
explain
select
count
(
a
)
from
t2
where
a
=
'AAAAAAAA'
and
b
=
'AAAAAAAA'
;
select
count
(
a
)
from
t2
where
a
=
'AAAAAAAA'
and
b
=
'AAAAAAAA'
;
select
count
(
a
)
from
t2
where
a
=
'AAAAAAAA'
and
b
=
'AAAAAAAA'
;
select
count
(
a
)
from
t2
ignore
index
(
a
,
b
)
where
a
=
'AAAAAAAA'
and
b
=
'AAAAAAAA'
;
select
count
(
a
)
from
t2
ignore
index
(
a
,
b
)
where
a
=
'AAAAAAAA'
and
b
=
'AAAAAAAA'
;
...
...
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