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
1c47e1ca
Commit
1c47e1ca
authored
Oct 04, 2011
by
Igor Babaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made the result test of a test case platform independent
(correction for the previous patch).
parent
3c3a1fbd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
mysql-test/r/join_cache.result
mysql-test/r/join_cache.result
+4
-4
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 @
1c47e1ca
...
@@ -4271,7 +4271,7 @@ INSERT INTO t2 VALUES
...
@@ -4271,7 +4271,7 @@ INSERT INTO t2 VALUES
(10,8,'v'), (11,8,'f'), (12,5,'v'), (13,8,'s'), (14,8,'a'),
(10,8,'v'), (11,8,'f'), (12,5,'v'), (13,8,'s'), (14,8,'a'),
(15,6,'p'), (16,7,'z'), (17,2,'a'), (18,5,'h'), (19,7,'h'),
(15,6,'p'), (16,7,'z'), (17,2,'a'), (18,5,'h'), (19,7,'h'),
(20,2,'v'), (21,9,'v'), (22,142,'b'), (23,3,'y'), (24,0,'v'),
(20,2,'v'), (21,9,'v'), (22,142,'b'), (23,3,'y'), (24,0,'v'),
(25,3,'m'), (26,5,'
z
'), (27,9,'n'), (28,1,'d'), (29,107,'a');
(25,3,'m'), (26,5,'
b
'), (27,9,'n'), (28,1,'d'), (29,107,'a');
CREATE TABLE t3 (
CREATE TABLE t3 (
pk int NOT NULL, i int NOT NULL, v varchar(1) NOT NULL,
pk int NOT NULL, i int NOT NULL, v varchar(1) NOT NULL,
PRIMARY KEY (pk), INDEX idx1(i), INDEX idx2(v,i)
PRIMARY KEY (pk), INDEX idx1(i), INDEX idx2(v,i)
...
@@ -4294,8 +4294,8 @@ SELECT t2.v FROM t1, t2, t3
...
@@ -4294,8 +4294,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
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;
GROUP BY t2.v ORDER BY t1.pk,t2.v;
v
v
b
h
h
z
n
n
v
v
p
p
...
@@ -4312,7 +4312,7 @@ SELECT t2.v FROM t1, t2, t3
...
@@ -4312,7 +4312,7 @@ 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
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;
GROUP BY t2.v ORDER BY t1.pk,t2.v;
v
v
z
b
h
h
n
n
v
v
...
@@ -4330,8 +4330,8 @@ SELECT t2.v FROM t1, t2, t3
...
@@ -4330,8 +4330,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
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;
GROUP BY t2.v ORDER BY t1.pk,t2.v;
v
v
b
h
h
z
n
n
v
v
p
p
...
...
mysql-test/t/join_cache.test
View file @
1c47e1ca
...
@@ -2475,7 +2475,7 @@ INSERT INTO t2 VALUES
...
@@ -2475,7 +2475,7 @@ INSERT INTO t2 VALUES
(
10
,
8
,
'v'
),
(
11
,
8
,
'f'
),
(
12
,
5
,
'v'
),
(
13
,
8
,
's'
),
(
14
,
8
,
'a'
),
(
10
,
8
,
'v'
),
(
11
,
8
,
'f'
),
(
12
,
5
,
'v'
),
(
13
,
8
,
's'
),
(
14
,
8
,
'a'
),
(
15
,
6
,
'p'
),
(
16
,
7
,
'z'
),
(
17
,
2
,
'a'
),
(
18
,
5
,
'h'
),
(
19
,
7
,
'h'
),
(
15
,
6
,
'p'
),
(
16
,
7
,
'z'
),
(
17
,
2
,
'a'
),
(
18
,
5
,
'h'
),
(
19
,
7
,
'h'
),
(
20
,
2
,
'v'
),
(
21
,
9
,
'v'
),
(
22
,
142
,
'b'
),
(
23
,
3
,
'y'
),
(
24
,
0
,
'v'
),
(
20
,
2
,
'v'
),
(
21
,
9
,
'v'
),
(
22
,
142
,
'b'
),
(
23
,
3
,
'y'
),
(
24
,
0
,
'v'
),
(
25
,
3
,
'm'
),
(
26
,
5
,
'
z
'
),
(
27
,
9
,
'n'
),
(
28
,
1
,
'd'
),
(
29
,
107
,
'a'
);
(
25
,
3
,
'm'
),
(
26
,
5
,
'
b
'
),
(
27
,
9
,
'n'
),
(
28
,
1
,
'd'
),
(
29
,
107
,
'a'
);
CREATE
TABLE
t3
(
CREATE
TABLE
t3
(
pk
int
NOT
NULL
,
i
int
NOT
NULL
,
v
varchar
(
1
)
NOT
NULL
,
pk
int
NOT
NULL
,
i
int
NOT
NULL
,
v
varchar
(
1
)
NOT
NULL
,
...
...
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