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
3a5e080d
Commit
3a5e080d
authored
Nov 28, 2014
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make explain_json.test pass on case-insensitive FS.
parent
d5fbfb9a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
mysql-test/r/explain_json.result
mysql-test/r/explain_json.result
+7
-7
mysql-test/t/explain_json.test
mysql-test/t/explain_json.test
+2
-2
No files found.
mysql-test/r/explain_json.result
View file @
3a5e080d
...
...
@@ -313,31 +313,31 @@ drop table t1;
# Join buffering
#
create table t1 (a int, b int);
insert into t1 select
A.a+10*B.a, A.a+10*B.a from t0 A, t0 B
;
insert into t1 select
tbl1.a+10*tbl2.a, tbl1.a+10*tbl2.a from t0 tbl1, t0 tbl2
;
explain format=json
select * from t1
A, t1 B where A.a=B.a and A.b < 3 and B
.b < 5;
select * from t1
tbl1, t1 tbl2 where tbl1.a=tbl2.a and tbl1.b < 3 and tbl2
.b < 5;
EXPLAIN
{
"query_block": {
"select_id": 1,
"table": {
"table_name": "
A
",
"table_name": "
tbl1
",
"access_type": "ALL",
"rows": 100,
"filtered": 100,
"attached_condition": "(
A
.b < 3)"
"attached_condition": "(
tbl1
.b < 3)"
},
"block-nl-join": {
"table": {
"table_name": "
B
",
"table_name": "
tbl2
",
"access_type": "ALL",
"rows": 100,
"filtered": 100,
"attached_condition": "(
B
.b < 5)"
"attached_condition": "(
tbl2
.b < 5)"
},
"buffer_type": "flat",
"join_type": "BNL",
"attached_condition": "(
B.a = A
.a)"
"attached_condition": "(
tbl2.a = tbl1
.a)"
}
}
}
...
...
mysql-test/t/explain_json.test
View file @
3a5e080d
...
...
@@ -63,10 +63,10 @@ drop table t1;
--
echo
# Join buffering
--
echo
#
create
table
t1
(
a
int
,
b
int
);
insert
into
t1
select
A
.
a
+
10
*
B
.
a
,
A
.
a
+
10
*
B
.
a
from
t0
A
,
t0
B
;
insert
into
t1
select
tbl1
.
a
+
10
*
tbl2
.
a
,
tbl1
.
a
+
10
*
tbl2
.
a
from
t0
tbl1
,
t0
tbl2
;
explain
format
=
json
select
*
from
t1
A
,
t1
B
where
A
.
a
=
B
.
a
and
A
.
b
<
3
and
B
.
b
<
5
;
select
*
from
t1
tbl1
,
t1
tbl2
where
tbl1
.
a
=
tbl2
.
a
and
tbl1
.
b
<
3
and
tbl2
.
b
<
5
;
drop
table
t1
;
...
...
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