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
d44e85e7
Commit
d44e85e7
authored
Apr 21, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/psergey/mysql-5.0-bug9912
parents
2ea451e2
46385ce0
Changes
2
Hide 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 @
d44e85e7
...
@@ -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 @
d44e85e7
...
@@ -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