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
2fb98941
Commit
2fb98941
authored
Nov 03, 2011
by
Sneha Modi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#11754168: Reverting back changes as it is making other tests fail.
parent
9ab8418f
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
1353 deletions
+29
-1353
mysql-test/collections/default.experimental
mysql-test/collections/default.experimental
+0
-1
mysql-test/include/index_merge1.inc
mysql-test/include/index_merge1.inc
+5
-118
mysql-test/include/index_merge2.inc
mysql-test/include/index_merge2.inc
+21
-23
mysql-test/include/index_merge_ror.inc
mysql-test/include/index_merge_ror.inc
+0
-52
mysql-test/r/index_merge_innodb.result
mysql-test/r/index_merge_innodb.result
+0
-1156
mysql-test/t/index_merge_innodb.test
mysql-test/t/index_merge_innodb.test
+3
-3
No files found.
mysql-test/collections/default.experimental
View file @
2fb98941
...
@@ -6,7 +6,6 @@ binlog.binlog_multi_engine # joro : NDB tests marked as experiment
...
@@ -6,7 +6,6 @@ binlog.binlog_multi_engine # joro : NDB tests marked as experiment
funcs_1.charset_collation_1 # depends on compile-time decisions
funcs_1.charset_collation_1 # depends on compile-time decisions
main.func_math @freebsd # Bug#11751977 2010-05-04 alik main.func_math fails on FreeBSD in PB2
main.func_math @freebsd # Bug#11751977 2010-05-04 alik main.func_math fails on FreeBSD in PB2
main.index_merge_innodb #Bug 11754168 - 45727: Disabled parts of index_merge_innodb due to explain diffs have been enabled
main.lock_multi_bug38499 # Bug#11755645 2009-09-19 alik main.lock_multi_bug38499 times out sporadically
main.lock_multi_bug38499 # Bug#11755645 2009-09-19 alik main.lock_multi_bug38499 times out sporadically
main.outfile_loaddata @solaris # Bug#11755168 2010-01-20 alik Test "outfile_loaddata" fails (reproducible)
main.outfile_loaddata @solaris # Bug#11755168 2010-01-20 alik Test "outfile_loaddata" fails (reproducible)
main.signal_demo3 @solaris # Bug#11753919 2010-01-20 alik Several test cases fail on Solaris with error Thread stack overrun
main.signal_demo3 @solaris # Bug#11753919 2010-01-20 alik Several test cases fail on Solaris with error Thread stack overrun
...
...
mysql-test/include/index_merge1.inc
View file @
2fb98941
This diff is collapsed.
Click to expand it.
mysql-test/include/index_merge2.inc
View file @
2fb98941
...
@@ -124,7 +124,6 @@ select count(*) from t1;
...
@@ -124,7 +124,6 @@ select count(*) from t1;
if
(
$index_merge_random_rows_in_EXPLAIN
)
if
(
$index_merge_random_rows_in_EXPLAIN
)
{
{
--
sorted_result
--
replace_column
9
#
--
replace_column
9
#
}
}
explain
select
count
(
*
)
from
t1
where
explain
select
count
(
*
)
from
t1
where
...
@@ -135,7 +134,6 @@ select count(*) from t1 where
...
@@ -135,7 +134,6 @@ select count(*) from t1 where
if
(
$index_merge_random_rows_in_EXPLAIN
)
if
(
$index_merge_random_rows_in_EXPLAIN
)
{
{
--
sorted_result
--
replace_column
9
#
--
replace_column
9
#
}
}
explain
select
count
(
*
)
from
t1
where
explain
select
count
(
*
)
from
t1
where
...
@@ -326,32 +324,32 @@ SELECT COUNT(*) FROM t1 WHERE b = 0 AND a = 0 AND c = 13286427 AND
...
@@ -326,32 +324,32 @@ SELECT COUNT(*) FROM t1 WHERE b = 0 AND a = 0 AND c = 13286427 AND
drop
table
t1
;
drop
table
t1
;
# BUG#21277: Index Merge/sort_union: wrong query results
# BUG#21277: Index Merge/sort_union: wrong query results
#
create table t1
create
table
t1
#
(
(
#
key1 int not null,
key1
int
not
null
,
#
key2 int not null default 0,
key2
int
not
null
default
0
,
#
key3 int not null default 0
key3
int
not
null
default
0
#
);
);
#
insert into t1(key1) values (1),(2),(3),(4),(5),(6),(7),(8);
insert
into
t1
(
key1
)
values
(
1
),(
2
),(
3
),(
4
),(
5
),(
6
),(
7
),(
8
);
#
let $1=7;
let
$
1
=
7
;
#
set @d=8;
set
@
d
=
8
;
#
while ($1)
while
(
$
1
)
#
{
{
#
eval insert into t1 (key1) select key1+@d from t1;
eval
insert
into
t1
(
key1
)
select
key1
+@
d
from
t1
;
#
eval set @d=@d*2;
eval
set
@
d
=@
d
*
2
;
#
dec $1;
dec
$
1
;
#
}
}
#
alter table t1 add index i2(key2);
alter
table
t1
add
index
i2
(
key2
);
#
alter table t1 add index i3(key3);
alter
table
t1
add
index
i3
(
key3
);
#
update t1 set key2=key1,key3=key1;
update
t1
set
key2
=
key1
,
key3
=
key1
;
# to test the bug, the following must use "sort_union":
# to test the bug, the following must use "sort_union":
#
explain select * from t1 where (key3 > 30 and key3<35) or (key2 >32 and key2 < 40);
explain
select
*
from
t1
where
(
key3
>
30
and
key3
<
35
)
or
(
key2
>
32
and
key2
<
40
);
#
select * from t1 where (key3 > 30 and key3<35) or (key2 >32 and key2 < 40);
select
*
from
t1
where
(
key3
>
30
and
key3
<
35
)
or
(
key2
>
32
and
key2
<
40
);
#
drop table t1;
drop
table
t1
;
--
echo
#
--
echo
#
--
echo
# Bug#56423: Different count with SELECT and CREATE SELECT queries
--
echo
# Bug#56423: Different count with SELECT and CREATE SELECT queries
...
...
mysql-test/include/index_merge_ror.inc
View file @
2fb98941
...
@@ -118,12 +118,8 @@ alter table t1 enable keys;
...
@@ -118,12 +118,8 @@ alter table t1 enable keys;
select
count
(
*
)
from
t1
;
select
count
(
*
)
from
t1
;
# One row results tests for cases where a single row matches all conditions
# One row results tests for cases where a single row matches all conditions
--
sorted_result
--
replace_column
9
#
explain
select
key1
,
key2
from
t1
where
key1
=
100
and
key2
=
100
;
explain
select
key1
,
key2
from
t1
where
key1
=
100
and
key2
=
100
;
select
key1
,
key2
from
t1
where
key1
=
100
and
key2
=
100
;
select
key1
,
key2
from
t1
where
key1
=
100
and
key2
=
100
;
--
sorted_result
--
replace_column
9
#
explain
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
100
and
key4
=
100
;
explain
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
100
and
key4
=
100
;
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
100
and
key4
=
100
;
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
100
and
key4
=
100
;
...
@@ -132,35 +128,25 @@ insert into t1 (key1, key2, key3, key4, filler1) values (100, 100, -1, -1, 'key1
...
@@ -132,35 +128,25 @@ insert into t1 (key1, key2, key3, key4, filler1) values (100, 100, -1, -1, 'key1
insert
into
t1
(
key1
,
key2
,
key3
,
key4
,
filler1
)
values
(
-
1
,
-
1
,
100
,
100
,
'key4-key3'
);
insert
into
t1
(
key1
,
key2
,
key3
,
key4
,
filler1
)
values
(
-
1
,
-
1
,
100
,
100
,
'key4-key3'
);
# ROR-intersection, not covering
# ROR-intersection, not covering
--
sorted_result
--
replace_column
9
#
explain
select
key1
,
key2
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
;
explain
select
key1
,
key2
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
;
select
key1
,
key2
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
;
select
key1
,
key2
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
;
# ROR-intersection, covering
# ROR-intersection, covering
--
sorted_result
--
replace_column
9
#
explain
select
key1
,
key2
from
t1
where
key1
=
100
and
key2
=
100
;
explain
select
key1
,
key2
from
t1
where
key1
=
100
and
key2
=
100
;
select
key1
,
key2
from
t1
where
key1
=
100
and
key2
=
100
;
select
key1
,
key2
from
t1
where
key1
=
100
and
key2
=
100
;
# ROR-union of ROR-intersections
# ROR-union of ROR-intersections
--
sorted_result
--
replace_column
9
#
explain
select
key1
,
key2
,
key3
,
key4
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
100
and
key4
=
100
;
explain
select
key1
,
key2
,
key3
,
key4
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
100
and
key4
=
100
;
select
key1
,
key2
,
key3
,
key4
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
100
and
key4
=
100
;
select
key1
,
key2
,
key3
,
key4
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
100
and
key4
=
100
;
explain
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
100
and
key4
=
100
;
explain
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
100
and
key4
=
100
;
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
100
and
key4
=
100
;
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
100
and
key4
=
100
;
# 3-way ROR-intersection
# 3-way ROR-intersection
--
sorted_result
--
replace_column
9
#
explain
select
key1
,
key2
,
key3
from
t1
where
key1
=
100
and
key2
=
100
and
key3
=
100
;
explain
select
key1
,
key2
,
key3
from
t1
where
key1
=
100
and
key2
=
100
and
key3
=
100
;
select
key1
,
key2
,
key3
from
t1
where
key1
=
100
and
key2
=
100
and
key3
=
100
;
select
key1
,
key2
,
key3
from
t1
where
key1
=
100
and
key2
=
100
and
key3
=
100
;
# ROR-union(ROR-intersection, ROR-range)
# ROR-union(ROR-intersection, ROR-range)
insert
into
t1
(
key1
,
key2
,
key3
,
key4
,
filler1
)
values
(
101
,
101
,
101
,
101
,
'key1234-101'
);
insert
into
t1
(
key1
,
key2
,
key3
,
key4
,
filler1
)
values
(
101
,
101
,
101
,
101
,
'key1234-101'
);
--
sorted_result
--
replace_column
9
#
explain
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
101
;
explain
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
101
;
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
101
;
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
101
;
...
@@ -173,22 +159,16 @@ select key1,key2,filler1 from t1 where key2=100 and key2=200;
...
@@ -173,22 +159,16 @@ select key1,key2,filler1 from t1 where key2=100 and key2=200;
# ROR-union(ROR-intersection) with one of ROR-intersection giving empty
# ROR-union(ROR-intersection) with one of ROR-intersection giving empty
# results
# results
--
sorted_result
--
replace_column
9
#
explain
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
100
and
key4
=
100
;
explain
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
100
and
key4
=
100
;
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
100
and
key4
=
100
;
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
100
and
key4
=
100
;
delete
from
t1
where
key3
=
100
and
key4
=
100
;
delete
from
t1
where
key3
=
100
and
key4
=
100
;
# ROR-union with all ROR-intersections giving empty results
# ROR-union with all ROR-intersections giving empty results
--
sorted_result
--
replace_column
9
#
explain
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
100
and
key4
=
100
;
explain
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
100
and
key4
=
100
;
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
100
and
key4
=
100
;
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key1
=
100
and
key2
=
100
or
key3
=
100
and
key4
=
100
;
# ROR-intersection with empty result
# ROR-intersection with empty result
--
sorted_result
--
replace_column
9
#
explain
select
key1
,
key2
from
t1
where
key1
=
100
and
key2
=
100
;
explain
select
key1
,
key2
from
t1
where
key1
=
100
and
key2
=
100
;
select
key1
,
key2
from
t1
where
key1
=
100
and
key2
=
100
;
select
key1
,
key2
from
t1
where
key1
=
100
and
key2
=
100
;
...
@@ -198,22 +178,16 @@ insert into t1 (key1, key2, key3, key4, filler1) values (100, 100, 200, 200,'key
...
@@ -198,22 +178,16 @@ insert into t1 (key1, key2, key3, key4, filler1) values (100, 100, 200, 200,'key
insert
into
t1
(
key1
,
key2
,
key3
,
key4
,
filler1
)
values
(
100
,
100
,
200
,
200
,
'key1-key2-key3-key4-2'
);
insert
into
t1
(
key1
,
key2
,
key3
,
key4
,
filler1
)
values
(
100
,
100
,
200
,
200
,
'key1-key2-key3-key4-2'
);
insert
into
t1
(
key1
,
key2
,
key3
,
key4
,
filler1
)
values
(
100
,
100
,
200
,
200
,
'key1-key2-key3-key4-3'
);
insert
into
t1
(
key1
,
key2
,
key3
,
key4
,
filler1
)
values
(
100
,
100
,
200
,
200
,
'key1-key2-key3-key4-3'
);
--
sorted_result
--
replace_column
9
#
explain
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key3
=
200
or
(
key1
=
100
and
key2
=
100
)
or
key4
=
200
;
explain
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key3
=
200
or
(
key1
=
100
and
key2
=
100
)
or
key4
=
200
;
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key3
=
200
or
(
key1
=
100
and
key2
=
100
)
or
key4
=
200
;
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key3
=
200
or
(
key1
=
100
and
key2
=
100
)
or
key4
=
200
;
insert
into
t1
(
key1
,
key2
,
key3
,
key4
,
filler1
)
values
(
-
1
,
-
1
,
-
1
,
200
,
'key4'
);
insert
into
t1
(
key1
,
key2
,
key3
,
key4
,
filler1
)
values
(
-
1
,
-
1
,
-
1
,
200
,
'key4'
);
--
sorted_result
--
replace_column
9
#
explain
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key3
=
200
or
(
key1
=
100
and
key2
=
100
)
or
key4
=
200
;
explain
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key3
=
200
or
(
key1
=
100
and
key2
=
100
)
or
key4
=
200
;
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key3
=
200
or
(
key1
=
100
and
key2
=
100
)
or
key4
=
200
;
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key3
=
200
or
(
key1
=
100
and
key2
=
100
)
or
key4
=
200
;
insert
into
t1
(
key1
,
key2
,
key3
,
key4
,
filler1
)
values
(
-
1
,
-
1
,
200
,
-
1
,
'key3'
);
insert
into
t1
(
key1
,
key2
,
key3
,
key4
,
filler1
)
values
(
-
1
,
-
1
,
200
,
-
1
,
'key3'
);
--
sorted_result
--
replace_column
9
#
explain
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key3
=
200
or
(
key1
=
100
and
key2
=
100
)
or
key4
=
200
;
explain
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key3
=
200
or
(
key1
=
100
and
key2
=
100
)
or
key4
=
200
;
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key3
=
200
or
(
key1
=
100
and
key2
=
100
)
or
key4
=
200
;
select
key1
,
key2
,
key3
,
key4
,
filler1
from
t1
where
key3
=
200
or
(
key1
=
100
and
key2
=
100
)
or
key4
=
200
;
...
@@ -222,16 +196,10 @@ select key1,key2,key3,key4,filler1 from t1 where key3=200 or (key1=100 and key2=
...
@@ -222,16 +196,10 @@ select key1,key2,key3,key4,filler1 from t1 where key3=200 or (key1=100 and key2=
##
##
# Check that the shortest key is used for ROR-intersection, covering and non-covering.
# Check that the shortest key is used for ROR-intersection, covering and non-covering.
--
sorted_result
--
replace_column
9
# 6 #
explain
select
*
from
t1
where
st_a
=
1
and
st_b
=
1
;
explain
select
*
from
t1
where
st_a
=
1
and
st_b
=
1
;
--
sorted_result
--
replace_column
9
#
explain
select
st_a
,
st_b
from
t1
where
st_a
=
1
and
st_b
=
1
;
explain
select
st_a
,
st_b
from
t1
where
st_a
=
1
and
st_b
=
1
;
# Check if "ingore index" syntax works
# Check if "ingore index" syntax works
--
sorted_result
--
replace_column
9
# 6 #
explain
select
st_a
from
t1
ignore
index
(
st_a
)
where
st_a
=
1
and
st_b
=
1
;
explain
select
st_a
from
t1
ignore
index
(
st_a
)
where
st_a
=
1
and
st_b
=
1
;
# Do many tests
# Do many tests
...
@@ -240,49 +208,30 @@ explain select st_a from t1 ignore index (st_a) where st_a=1 and st_b=1;
...
@@ -240,49 +208,30 @@ explain select st_a from t1 ignore index (st_a) where st_a=1 and st_b=1;
# Different value on 32 and 64 bit
# Different value on 32 and 64 bit
--
replace_result
sta_swt12a
sta_swt21a
sta_swt12a
,
sta_swt12a
,
--
replace_result
sta_swt12a
sta_swt21a
sta_swt12a
,
sta_swt12a
,
--
replace_column
9
#
explain
select
*
from
t1
where
st_a
=
1
and
swt1a
=
1
and
swt2a
=
1
;
explain
select
*
from
t1
where
st_a
=
1
and
swt1a
=
1
and
swt2a
=
1
;
--
sorted_result
--
replace_column
9
#
explain
select
*
from
t1
where
st_b
=
1
and
swt1b
=
1
and
swt2b
=
1
;
explain
select
*
from
t1
where
st_b
=
1
and
swt1b
=
1
and
swt2b
=
1
;
--
sorted_result
--
replace_column
9
#
explain
select
*
from
t1
where
st_a
=
1
and
swt1a
=
1
and
swt2a
=
1
and
st_b
=
1
and
swt1b
=
1
and
swt2b
=
1
;
explain
select
*
from
t1
where
st_a
=
1
and
swt1a
=
1
and
swt2a
=
1
and
st_b
=
1
and
swt1b
=
1
and
swt2b
=
1
;
--
sorted_result
--
replace_column
9
#
explain
select
*
from
t1
ignore
index
(
sta_swt21a
,
stb_swt1a_2b
)
explain
select
*
from
t1
ignore
index
(
sta_swt21a
,
stb_swt1a_2b
)
where
st_a
=
1
and
swt1a
=
1
and
swt2a
=
1
and
st_b
=
1
and
swt1b
=
1
and
swt2b
=
1
;
where
st_a
=
1
and
swt1a
=
1
and
swt2a
=
1
and
st_b
=
1
and
swt1b
=
1
and
swt2b
=
1
;
--
sorted_result
--
replace_column
9
#
explain
select
*
from
t1
ignore
index
(
sta_swt21a
,
sta_swt12a
,
stb_swt1a_2b
)
explain
select
*
from
t1
ignore
index
(
sta_swt21a
,
sta_swt12a
,
stb_swt1a_2b
)
where
st_a
=
1
and
swt1a
=
1
and
swt2a
=
1
and
st_b
=
1
and
swt1b
=
1
and
swt2b
=
1
;
where
st_a
=
1
and
swt1a
=
1
and
swt2a
=
1
and
st_b
=
1
and
swt1b
=
1
and
swt2b
=
1
;
--
sorted_result
--
replace_column
9
#
explain
select
*
from
t1
ignore
index
(
sta_swt21a
,
sta_swt12a
,
stb_swt1a_2b
,
stb_swt1b
)
explain
select
*
from
t1
ignore
index
(
sta_swt21a
,
sta_swt12a
,
stb_swt1a_2b
,
stb_swt1b
)
where
st_a
=
1
and
swt1a
=
1
and
swt2a
=
1
and
st_b
=
1
and
swt1b
=
1
and
swt2b
=
1
;
where
st_a
=
1
and
swt1a
=
1
and
swt2a
=
1
and
st_b
=
1
and
swt1b
=
1
and
swt2b
=
1
;
--
sorted_result
--
replace_column
9
#
explain
select
*
from
t1
explain
select
*
from
t1
where
st_a
=
1
and
swt1a
=
1
and
swt2a
=
1
and
st_b
=
1
and
swt1b
=
1
;
where
st_a
=
1
and
swt1a
=
1
and
swt2a
=
1
and
st_b
=
1
and
swt1b
=
1
;
--
sorted_result
--
replace_column
9
#
explain
select
*
from
t1
explain
select
*
from
t1
where
st_a
=
1
and
swt1a
=
1
and
st_b
=
1
and
swt1b
=
1
and
swt1b
=
1
;
where
st_a
=
1
and
swt1a
=
1
and
st_b
=
1
and
swt1b
=
1
and
swt1b
=
1
;
--
sorted_result
--
replace_column
9
#
explain
select
st_a
from
t1
explain
select
st_a
from
t1
where
st_a
=
1
and
swt1a
=
1
and
st_b
=
1
and
swt1b
=
1
and
swt1b
=
1
;
where
st_a
=
1
and
swt1a
=
1
and
st_b
=
1
and
swt1b
=
1
and
swt1b
=
1
;
--
sorted_result
--
replace_column
9
#
explain
select
st_a
from
t1
explain
select
st_a
from
t1
where
st_a
=
1
and
swt1a
=
1
and
st_b
=
1
and
swt1b
=
1
and
swt1b
=
1
;
where
st_a
=
1
and
swt1a
=
1
and
st_b
=
1
and
swt1b
=
1
and
swt1b
=
1
;
...
@@ -321,7 +270,6 @@ select count(a) from t2 where a='AAAAAAAA' and b='AAAAAAAA';
...
@@ -321,7 +270,6 @@ 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'
;
insert
into
t2
values
(
'ab'
,
'ab'
,
'uh'
,
'oh'
);
insert
into
t2
values
(
'ab'
,
'ab'
,
'uh'
,
'oh'
);
--
replace_column
9
#
explain
select
a
from
t2
where
a
=
'ab'
;
explain
select
a
from
t2
where
a
=
'ab'
;
drop
table
t2
;
drop
table
t2
;
...
...
mysql-test/r/index_merge_innodb.result
View file @
2fb98941
This diff is collapsed.
Click to expand it.
mysql-test/t/index_merge_innodb.test
View file @
2fb98941
...
@@ -22,9 +22,9 @@ let $index_merge_random_rows_in_EXPLAIN = 1;
...
@@ -22,9 +22,9 @@ let $index_merge_random_rows_in_EXPLAIN = 1;
let
$merge_table_support
=
0
;
let
$merge_table_support
=
0
;
# -- [DISABLED Bug#45727]
# -- [DISABLED Bug#45727]
--
source
include
/
index_merge1
.
inc
#
--source include/index_merge1.inc
--
source
include
/
index_merge_ror
.
inc
#
--source include/index_merge_ror.inc
--
source
include
/
index_merge2
.
inc
#
--source include/index_merge2.inc
--
source
include
/
index_merge_2sweeps
.
inc
--
source
include
/
index_merge_2sweeps
.
inc
--
source
include
/
index_merge_ror_cpk
.
inc
--
source
include
/
index_merge_ror_cpk
.
inc
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