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
de8b51fd
Commit
de8b51fd
authored
Aug 08, 2019
by
Monty
Committed by
Sergei Golubchik
Aug 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some test that failed randomly
parent
76ce6ae4
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
9 deletions
+10
-9
mysql-test/include/icp_tests.inc
mysql-test/include/icp_tests.inc
+1
-0
mysql-test/main/innodb_icp.result
mysql-test/main/innodb_icp.result
+3
-3
mysql-test/main/myisam_icp.result
mysql-test/main/myisam_icp.result
+3
-3
mysql-test/suite/maria/icp.result
mysql-test/suite/maria/icp.result
+3
-3
No files found.
mysql-test/include/icp_tests.inc
View file @
de8b51fd
...
...
@@ -459,6 +459,7 @@ INSERT INTO t2 VALUES (15,4);
set
@
save_optimizer_switch
=
@@
optimizer_switch
;
set
optimizer_switch
=
'semijoin=off'
;
--
replace_column
9
#
EXPLAIN
SELECT
*
FROM
t1
WHERE
pk
IN
(
SELECT
it
.
pk
FROM
t2
JOIN
t2
AS
it
ON
it
.
i
=
it
.
i
WHERE
it
.
pk
-
t1
.
i
<
10
);
...
...
mysql-test/main/innodb_icp.result
View file @
de8b51fd
...
...
@@ -435,9 +435,9 @@ EXPLAIN
SELECT * FROM t1
WHERE pk IN (SELECT it.pk FROM t2 JOIN t2 AS it ON it.i=it.i WHERE it.pk-t1.i<10);
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t1 ALL NULL NULL NULL NULL
3
Using where
2 DEPENDENT SUBQUERY it eq_ref PRIMARY PRIMARY 4 func
1
Using where
2 DEPENDENT SUBQUERY t2 index NULL PRIMARY 4 NULL
3
Using index; Using join buffer (flat, BNL join)
1 PRIMARY t1 ALL NULL NULL NULL NULL
#
Using where
2 DEPENDENT SUBQUERY it eq_ref PRIMARY PRIMARY 4 func
#
Using where
2 DEPENDENT SUBQUERY t2 index NULL PRIMARY 4 NULL
#
Using index; Using join buffer (flat, BNL join)
SELECT * FROM t1
WHERE pk IN (SELECT it.pk FROM t2 JOIN t2 AS it ON it.i=it.i WHERE it.pk-t1.i<10);
pk i
...
...
mysql-test/main/myisam_icp.result
View file @
de8b51fd
...
...
@@ -428,9 +428,9 @@ EXPLAIN
SELECT * FROM t1
WHERE pk IN (SELECT it.pk FROM t2 JOIN t2 AS it ON it.i=it.i WHERE it.pk-t1.i<10);
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t1 ALL NULL NULL NULL NULL
3
Using where
2 DEPENDENT SUBQUERY it eq_ref PRIMARY PRIMARY 4 func
1
Using index condition
2 DEPENDENT SUBQUERY t2 index NULL PRIMARY 4 NULL
3
Using index; Using join buffer (flat, BNL join)
1 PRIMARY t1 ALL NULL NULL NULL NULL
#
Using where
2 DEPENDENT SUBQUERY it eq_ref PRIMARY PRIMARY 4 func
#
Using index condition
2 DEPENDENT SUBQUERY t2 index NULL PRIMARY 4 NULL
#
Using index; Using join buffer (flat, BNL join)
SELECT * FROM t1
WHERE pk IN (SELECT it.pk FROM t2 JOIN t2 AS it ON it.i=it.i WHERE it.pk-t1.i<10);
pk i
...
...
mysql-test/suite/maria/icp.result
View file @
de8b51fd
...
...
@@ -430,9 +430,9 @@ EXPLAIN
SELECT * FROM t1
WHERE pk IN (SELECT it.pk FROM t2 JOIN t2 AS it ON it.i=it.i WHERE it.pk-t1.i<10);
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t1 ALL NULL NULL NULL NULL
3
Using where
2 DEPENDENT SUBQUERY it eq_ref PRIMARY PRIMARY 4 func
1
Using index condition
2 DEPENDENT SUBQUERY t2 index NULL PRIMARY 4 NULL
3
Using index; Using join buffer (flat, BNL join)
1 PRIMARY t1 ALL NULL NULL NULL NULL
#
Using where
2 DEPENDENT SUBQUERY it eq_ref PRIMARY PRIMARY 4 func
#
Using index condition
2 DEPENDENT SUBQUERY t2 index NULL PRIMARY 4 NULL
#
Using index; Using join buffer (flat, BNL join)
SELECT * FROM t1
WHERE pk IN (SELECT it.pk FROM t2 JOIN t2 AS it ON it.i=it.i WHERE it.pk-t1.i<10);
pk i
...
...
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