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
8e95e654
Commit
8e95e654
authored
May 17, 2012
by
Igor Babaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed a test case from join_cache.test to make it platform independent
parent
25bf0339
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
mysql-test/r/join_cache.result
mysql-test/r/join_cache.result
+3
-3
mysql-test/t/join_cache.test
mysql-test/t/join_cache.test
+1
-1
No files found.
mysql-test/r/join_cache.result
View file @
8e95e654
...
...
@@ -4274,7 +4274,7 @@ pk int NOT NULL, i int NOT NULL, v varchar(1) NOT NULL,
PRIMARY KEY (pk), INDEX idx1(i), INDEX idx2 (v,i)
) COLLATE latin1_bin;
INSERT INTO t1 VALUES
(10,8,'v'), (11,8,'f'), (1
2,5,'v'), (1
3,8,'s'), (14,8,'a'),
(10,8,'v'), (11,8,'f'), (13,8,'s'), (14,8,'a'),
(15,6,'p'), (16,7,'z'), (17,2,'a'), (18,5,'h'), (19,7,'h'),
(25,3,'m'), (26,5,'a'), (27,9,'n'), (28,1,'d'), (29,107,'a');
INSERT INTO t1 VALUES
...
...
@@ -4334,8 +4334,8 @@ SELECT t2.v FROM t1, t2, t3
WHERE t3.v <> t2.v AND t3.pk = t2.i AND t1.v = t3.v AND t1.pk*2<100
GROUP BY t2.v ORDER BY t1.pk,t2.v;
v
h
b
h
n
v
p
...
...
@@ -4347,7 +4347,7 @@ GROUP BY t2.v ORDER BY t1.pk,t2.v;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t2 index idx1 idx2 7 NULL 20 Using index; Using temporary; Using filesort
1 SIMPLE t3 hash_ALL PRIMARY,idx2 #hash#PRIMARY 4 test.t2.i 20 Using where; Using join buffer (flat, BNLH join)
1 SIMPLE t1 hash_ALL idx2 #hash#idx2 3 test.t3.v 4
5
Using where; Using join buffer (incremental, BNLH join)
1 SIMPLE t1 hash_ALL idx2 #hash#idx2 3 test.t3.v 4
4
Using where; Using join buffer (incremental, BNLH join)
SELECT t2.v FROM t1, t2, t3
WHERE t3.v <> t2.v AND t3.pk = t2.i AND t1.v = t3.v AND t1.pk*2<100
GROUP BY t2.v ORDER BY t1.pk,t2.v;
...
...
mysql-test/t/join_cache.test
View file @
8e95e654
...
...
@@ -2464,7 +2464,7 @@ CREATE TABLE t1 (
PRIMARY
KEY
(
pk
),
INDEX
idx1
(
i
),
INDEX
idx2
(
v
,
i
)
)
COLLATE
latin1_bin
;
INSERT
INTO
t1
VALUES
(
10
,
8
,
'v'
),
(
11
,
8
,
'f'
),
(
1
2
,
5
,
'v'
),
(
1
3
,
8
,
's'
),
(
14
,
8
,
'a'
),
(
10
,
8
,
'v'
),
(
11
,
8
,
'f'
),
(
13
,
8
,
's'
),
(
14
,
8
,
'a'
),
(
15
,
6
,
'p'
),
(
16
,
7
,
'z'
),
(
17
,
2
,
'a'
),
(
18
,
5
,
'h'
),
(
19
,
7
,
'h'
),
(
25
,
3
,
'm'
),
(
26
,
5
,
'a'
),
(
27
,
9
,
'n'
),
(
28
,
1
,
'd'
),
(
29
,
107
,
'a'
);
INSERT
INTO
t1
VALUES
...
...
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