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
49878be3
Commit
49878be3
authored
Sep 12, 2017
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-13602: rocksdb.index_merge_rocksdb2 failed in buildbot
Part#2: stabilize the test output
parent
594c6b37
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
storage/rocksdb/mysql-test/rocksdb/include/index_merge1.inc
storage/rocksdb/mysql-test/rocksdb/include/index_merge1.inc
+8
-0
storage/rocksdb/mysql-test/rocksdb/r/index_merge_rocksdb2.result
.../rocksdb/mysql-test/rocksdb/r/index_merge_rocksdb2.result
+4
-4
No files found.
storage/rocksdb/mysql-test/rocksdb/include/index_merge1.inc
View file @
49878be3
...
...
@@ -402,12 +402,20 @@ analyze table t1;
--
enable_query_log
# index_merge on first table in join
if
(
$index_merge_random_rows_in_EXPLAIN
)
{
--
replace_column
9
#
}
explain
select
*
from
t0
left
join
t1
on
(
t0
.
key1
=
t1
.
key1
)
where
t0
.
key1
=
3
or
t0
.
key2
=
4
;
select
*
from
t0
left
join
t1
on
(
t0
.
key1
=
t1
.
key1
)
where
t0
.
key1
=
3
or
t0
.
key2
=
4
;
if
(
$index_merge_random_rows_in_EXPLAIN
)
{
--
replace_column
9
#
}
explain
select
*
from
t0
,
t1
where
(
t0
.
key1
=
t1
.
key1
)
and
(
t0
.
key1
=
3
or
t0
.
key2
=
4
);
...
...
storage/rocksdb/mysql-test/rocksdb/r/index_merge_rocksdb2.result
View file @
49878be3
...
...
@@ -250,8 +250,8 @@ insert into t1 select * from t0;
explain select * from t0 left join t1 on (t0.key1=t1.key1)
where t0.key1=3 or t0.key2=4;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t0 index_merge i1,i2 i1,i2 4,4 NULL
2
Using union(i1,i2); Using where
1 SIMPLE t1 ref i1 i1 4 test.t0.key1
2
1 SIMPLE t0 index_merge i1,i2 i1,i2 4,4 NULL
#
Using union(i1,i2); Using where
1 SIMPLE t1 ref i1 i1 4 test.t0.key1
#
select * from t0 left join t1 on (t0.key1=t1.key1)
where t0.key1=3 or t0.key2=4;
key1 key2 key3 key4 key5 key6 key7 key8 key1 key2 key3 key4 key5 key6 key7 key8
...
...
@@ -260,8 +260,8 @@ key1 key2 key3 key4 key5 key6 key7 key8 key1 key2 key3 key4 key5 key6 key7 key8
explain
select * from t0,t1 where (t0.key1=t1.key1) and ( t0.key1=3 or t0.key2=4);
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t0 index_merge i1,i2 i1,i2 4,4 NULL
2
Using union(i1,i2); Using where
1 SIMPLE t1 ref i1 i1 4 test.t0.key1
2
1 SIMPLE t0 index_merge i1,i2 i1,i2 4,4 NULL
#
Using union(i1,i2); Using where
1 SIMPLE t1 ref i1 i1 4 test.t0.key1
#
explain
select * from t0,t1 where (t0.key1=t1.key1) and
(t0.key1=3 or t0.key2<4) and t1.key1=2;
...
...
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