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
4b71be90
Commit
4b71be90
authored
Jun 26, 2010
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-merge fixes: update test results for vcol and pbxt test suites.
parent
222a826f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
33 deletions
+33
-33
mysql-test/suite/pbxt/r/select.result
mysql-test/suite/pbxt/r/select.result
+6
-6
mysql-test/suite/vcol/r/vcol_select_innodb.result
mysql-test/suite/vcol/r/vcol_select_innodb.result
+13
-13
mysql-test/suite/vcol/r/vcol_select_myisam.result
mysql-test/suite/vcol/r/vcol_select_myisam.result
+14
-14
No files found.
mysql-test/suite/pbxt/r/select.result
View file @
4b71be90
...
@@ -1397,15 +1397,15 @@ id select_type table type possible_keys key key_len ref rows Extra
...
@@ -1397,15 +1397,15 @@ id select_type table type possible_keys key key_len ref rows Extra
explain select companynr,companyname from t4 left join t2 using (companynr) where companynr > 0;
explain select companynr,companyname from t4 left join t2 using (companynr) where companynr > 0;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t4 ALL PRIMARY NULL NULL NULL 12 Using where
1 SIMPLE t4 ALL PRIMARY NULL NULL NULL 12 Using where
1 SIMPLE t2 ALL NULL NULL NULL NULL 1
199
Using where
1 SIMPLE t2 ALL NULL NULL NULL NULL 1
200
Using where
explain select companynr,companyname from t4 left join t2 using (companynr) where companynr > 0 or companynr < 0;
explain select companynr,companyname from t4 left join t2 using (companynr) where companynr > 0 or companynr < 0;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t4 ALL PRIMARY NULL NULL NULL 12 Using where
1 SIMPLE t4 ALL PRIMARY NULL NULL NULL 12 Using where
1 SIMPLE t2 ALL NULL NULL NULL NULL 1
199
Using where
1 SIMPLE t2 ALL NULL NULL NULL NULL 1
200
Using where
explain select companynr,companyname from t4 left join t2 using (companynr) where companynr > 0 and companynr > 0;
explain select companynr,companyname from t4 left join t2 using (companynr) where companynr > 0 and companynr > 0;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t4 ALL PRIMARY NULL NULL NULL 12 Using where
1 SIMPLE t4 ALL PRIMARY NULL NULL NULL 12 Using where
1 SIMPLE t2 ALL NULL NULL NULL NULL 1
199
Using where
1 SIMPLE t2 ALL NULL NULL NULL NULL 1
200
Using where
explain select t2.companynr,companyname from t4 left join t2 using (companynr) where t2.companynr > 0 or t2.companynr is null;
explain select t2.companynr,companyname from t4 left join t2 using (companynr) where t2.companynr > 0 or t2.companynr is null;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t4 ALL NULL NULL NULL NULL 12
1 SIMPLE t4 ALL NULL NULL NULL NULL 12
...
@@ -1421,15 +1421,15 @@ id select_type table type possible_keys key key_len ref rows Extra
...
@@ -1421,15 +1421,15 @@ id select_type table type possible_keys key key_len ref rows Extra
explain select companynr,companyname from t4 left join t2 using (companynr) where companynr > 0 or companynr is null;
explain select companynr,companyname from t4 left join t2 using (companynr) where companynr > 0 or companynr is null;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t4 ALL PRIMARY NULL NULL NULL 12 Using where
1 SIMPLE t4 ALL PRIMARY NULL NULL NULL 12 Using where
1 SIMPLE t2 ALL NULL NULL NULL NULL 1
199
Using where
1 SIMPLE t2 ALL NULL NULL NULL NULL 1
200
Using where
explain select companynr,companyname from t4 left join t2 using (companynr) where companynr > 0 or companynr < 0 or companynr > 0;
explain select companynr,companyname from t4 left join t2 using (companynr) where companynr > 0 or companynr < 0 or companynr > 0;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t4 ALL PRIMARY NULL NULL NULL 12 Using where
1 SIMPLE t4 ALL PRIMARY NULL NULL NULL 12 Using where
1 SIMPLE t2 ALL NULL NULL NULL NULL 1
199
Using where
1 SIMPLE t2 ALL NULL NULL NULL NULL 1
200
Using where
explain select companynr,companyname from t4 left join t2 using (companynr) where ifnull(companynr,1)>0;
explain select companynr,companyname from t4 left join t2 using (companynr) where ifnull(companynr,1)>0;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t4 ALL NULL NULL NULL NULL 12 Using where
1 SIMPLE t4 ALL NULL NULL NULL NULL 12 Using where
1 SIMPLE t2 ALL NULL NULL NULL NULL 1
199
Using where
1 SIMPLE t2 ALL NULL NULL NULL NULL 1
200
Using where
select distinct t2.companynr,t4.companynr from t2,t4 where t2.companynr=t4.companynr+1;
select distinct t2.companynr,t4.companynr from t2,t4 where t2.companynr=t4.companynr+1;
companynr companynr
companynr companynr
37 36
37 36
...
...
mysql-test/suite/vcol/r/vcol_select_innodb.result
View file @
4b71be90
...
@@ -22,7 +22,7 @@ a b c
...
@@ -22,7 +22,7 @@ a b c
1 -1 -1
1 -1 -1
explain select * from t2 where c=-1;
explain select * from t2 where c=-1;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t2 ref c c 5 const 1
Using where
1 SIMPLE t2 ref c c 5 const 1
# select_type=SIMPLE, type=ALL
# select_type=SIMPLE, type=ALL
select * from t1 where b=-1;
select * from t1 where b=-1;
a b c
a b c
...
@@ -44,7 +44,7 @@ a b c
...
@@ -44,7 +44,7 @@ a b c
1 -1 -1
1 -1 -1
explain select * from t3 where c>=-1;
explain select * from t3 where c>=-1;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t3 range c c 5 NULL 1 Using
where
1 SIMPLE t3 range c c 5 NULL 1 Using
index condition; Using MRR
# select_type=SIMPLE, type=ref
# select_type=SIMPLE, type=ref
select * from t1,t3 where t1.c=t3.c and t3.c=-1;
select * from t1,t3 where t1.c=t3.c and t3.c=-1;
a b c a b c
a b c a b c
...
@@ -53,7 +53,7 @@ a b c a b c
...
@@ -53,7 +53,7 @@ a b c a b c
explain select * from t1,t3 where t1.c=t3.c and t3.c=-1;
explain select * from t1,t3 where t1.c=t3.c and t3.c=-1;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t3 const c c 5 const 1
1 SIMPLE t3 const c c 5 const 1
1 SIMPLE t1 ref c c 5 const 2
Using where
1 SIMPLE t1 ref c c 5 const 2
# select_type=PRIMARY, type=index,ALL
# select_type=PRIMARY, type=index,ALL
select * from t1 where b in (select c from t3);
select * from t1 where b in (select c from t3);
a b c
a b c
...
@@ -63,8 +63,8 @@ a b c
...
@@ -63,8 +63,8 @@ a b c
3 -3 -3
3 -3 -3
explain select * from t1 where b in (select c from t3);
explain select * from t1 where b in (select c from t3);
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t
1 ALL NULL NULL NULL NULL 5 Using where
1 PRIMARY t
3 index c c 5 NULL 3 Using index
2 DEPENDENT SUBQUERY t3 index_subquery c c 5 func 1 Using index; Using where
1 PRIMARY t1 ALL NULL NULL NULL NULL 5 Using where; Using join buffer
# select_type=PRIMARY, type=range,ref
# select_type=PRIMARY, type=range,ref
select * from t1 where c in (select c from t3 where c between -2 and -1);
select * from t1 where c in (select c from t3 where c between -2 and -1);
a b c
a b c
...
@@ -73,8 +73,8 @@ a b c
...
@@ -73,8 +73,8 @@ a b c
1 -1 -1
1 -1 -1
explain select * from t1 where c in (select c from t3 where c between -2 and -1);
explain select * from t1 where c in (select c from t3 where c between -2 and -1);
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t
1 ALL NULL NULL NULL NULL 5 Using where
1 PRIMARY t
3 index c c 5 NULL 3 Using where; Using index
2 DEPENDENT SUBQUERY t3 index_subquery c c 5 func 1 Using index; Using where
1 PRIMARY t1 ref c c 5 test.t3.c 1
# select_type=UNION, type=system
# select_type=UNION, type=system
# select_type=UNION RESULT, type=<union1,2>
# select_type=UNION RESULT, type=<union1,2>
select * from t1 union select * from t2;
select * from t1 union select * from t2;
...
@@ -137,11 +137,11 @@ id select_type table type possible_keys key key_len ref rows Extra
...
@@ -137,11 +137,11 @@ id select_type table type possible_keys key key_len ref rows Extra
# SELECT * FROM tbl_name WHERE <vcol expr>
# SELECT * FROM tbl_name WHERE <vcol expr>
select * from t3 where c >= -2;
select * from t3 where c >= -2;
a b c
a b c
2 -2 -2
1 -1 -1
1 -1 -1
2 -2 -2
explain select * from t3 where c >= -2;
explain select * from t3 where c >= -2;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t3 range c c 5 NULL 1 Using
where
1 SIMPLE t3 range c c 5 NULL 1 Using
index condition; Using MRR
# SELECT * FROM tbl_name WHERE <non-vcol expr>
# SELECT * FROM tbl_name WHERE <non-vcol expr>
select * from t3 where a between 1 and 2;
select * from t3 where a between 1 and 2;
a b c
a b c
...
@@ -161,11 +161,11 @@ id select_type table type possible_keys key key_len ref rows Extra
...
@@ -161,11 +161,11 @@ id select_type table type possible_keys key key_len ref rows Extra
# SELECT * FROM tbl_name WHERE <indexed vcol expr>
# SELECT * FROM tbl_name WHERE <indexed vcol expr>
select * from t3 where c between -2 and -1;
select * from t3 where c between -2 and -1;
a b c
a b c
2 -2 -2
1 -1 -1
1 -1 -1
2 -2 -2
explain select * from t3 where c between -2 and -1;
explain select * from t3 where c between -2 and -1;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t3 range c c 5 NULL 1 Using
where
1 SIMPLE t3 range c c 5 NULL 1 Using
index condition; Using MRR
# SELECT * FROM tbl_name WHERE <non-vcol expr> ORDER BY <non-indexed vcol>
# SELECT * FROM tbl_name WHERE <non-vcol expr> ORDER BY <non-indexed vcol>
select * from t3 where a between 1 and 2 order by b;
select * from t3 where a between 1 and 2 order by b;
a b c
a b c
...
@@ -205,7 +205,7 @@ a b c
...
@@ -205,7 +205,7 @@ a b c
1 -1 -1
1 -1 -1
explain select * from t3 where c between -2 and -1 order by b;
explain select * from t3 where c between -2 and -1 order by b;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t3 range c c 5 NULL 1 Using
where
; Using filesort
1 SIMPLE t3 range c c 5 NULL 1 Using
index condition; Using MRR
; Using filesort
# SELECT * FROM tbl_name WHERE <non-indexed vcol expr> ORDER BY <indexed vcol>
# SELECT * FROM tbl_name WHERE <non-indexed vcol expr> ORDER BY <indexed vcol>
select * from t3 where b between -2 and -1 order by c;
select * from t3 where b between -2 and -1 order by c;
a b c
a b c
...
@@ -221,7 +221,7 @@ a b c
...
@@ -221,7 +221,7 @@ a b c
1 -1 -1
1 -1 -1
explain select * from t3 where c between -2 and -1 order by c;
explain select * from t3 where c between -2 and -1 order by c;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t3 range c c 5 NULL 1 Using
where
1 SIMPLE t3 range c c 5 NULL 1 Using
index condition
# SELECT sum(<non-indexed vcol>) FROM tbl_name GROUP BY <non-indexed vcol>
# SELECT sum(<non-indexed vcol>) FROM tbl_name GROUP BY <non-indexed vcol>
select sum(b) from t1 group by b;
select sum(b) from t1 group by b;
sum(b)
sum(b)
...
...
mysql-test/suite/vcol/r/vcol_select_myisam.result
View file @
4b71be90
...
@@ -44,7 +44,7 @@ a b c
...
@@ -44,7 +44,7 @@ a b c
1 -1 -1
1 -1 -1
explain select * from t3 where c>=-1;
explain select * from t3 where c>=-1;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t3 range c c 5 NULL 2 Using
where
1 SIMPLE t3 range c c 5 NULL 2 Using
index condition; Using MRR
# select_type=SIMPLE, type=ref
# select_type=SIMPLE, type=ref
select * from t1,t3 where t1.c=t3.c and t3.c=-1;
select * from t1,t3 where t1.c=t3.c and t3.c=-1;
a b c a b c
a b c a b c
...
@@ -53,7 +53,7 @@ a b c a b c
...
@@ -53,7 +53,7 @@ a b c a b c
explain select * from t1,t3 where t1.c=t3.c and t3.c=-1;
explain select * from t1,t3 where t1.c=t3.c and t3.c=-1;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t3 const c c 5 const 1
1 SIMPLE t3 const c c 5 const 1
1 SIMPLE t1 ref c c 5 const 2
Using where
1 SIMPLE t1 ref c c 5 const 2
# select_type=PRIMARY, type=index,ALL
# select_type=PRIMARY, type=index,ALL
select * from t1 where b in (select c from t3);
select * from t1 where b in (select c from t3);
a b c
a b c
...
@@ -63,8 +63,8 @@ a b c
...
@@ -63,8 +63,8 @@ a b c
3 -3 -3
3 -3 -3
explain select * from t1 where b in (select c from t3);
explain select * from t1 where b in (select c from t3);
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t
1 ALL NULL NULL NULL NULL 5 Using where
1 PRIMARY t
3 index c c 5 NULL 3 Using index
2 DEPENDENT SUBQUERY t3 index_subquery c c 5 func 2 Using index; Using where
1 PRIMARY t1 ALL NULL NULL NULL NULL 5 Using where; Using join buffer
# select_type=PRIMARY, type=range,ref
# select_type=PRIMARY, type=range,ref
select * from t1 where c in (select c from t3 where c between -2 and -1);
select * from t1 where c in (select c from t3 where c between -2 and -1);
a b c
a b c
...
@@ -73,8 +73,8 @@ a b c
...
@@ -73,8 +73,8 @@ a b c
1 -1 -1
1 -1 -1
explain select * from t1 where c in (select c from t3 where c between -2 and -1);
explain select * from t1 where c in (select c from t3 where c between -2 and -1);
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t
1 ALL NULL NULL NULL NULL 5 Using where
1 PRIMARY t
3 index c c 5 NULL 3 Using where; Using index
2 DEPENDENT SUBQUERY t3 index_subquery c c 5 func 2 Using index; Using where
1 PRIMARY t1 ref c c 5 test.t3.c 2
# select_type=UNION, type=system
# select_type=UNION, type=system
# select_type=UNION RESULT, type=<union1,2>
# select_type=UNION RESULT, type=<union1,2>
select * from t1 union select * from t2;
select * from t1 union select * from t2;
...
@@ -141,15 +141,15 @@ a b c
...
@@ -141,15 +141,15 @@ a b c
1 -1 -1
1 -1 -1
explain select * from t3 where c >= -2;
explain select * from t3 where c >= -2;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t3 range c c 5 NULL 2 Using
where
1 SIMPLE t3 range c c 5 NULL 2 Using
index condition; Using MRR
# SELECT * FROM tbl_name WHERE <non-vcol expr>
# SELECT * FROM tbl_name WHERE <non-vcol expr>
select * from t3 where a between 1 and 2;
select * from t3 where a between 1 and 2;
a b c
a b c
1 -1 -1
2 -2 -2
2 -2 -2
1 -1 -1
explain select * from t3 where a between 1 and 2;
explain select * from t3 where a between 1 and 2;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t3 range PRIMARY PRIMARY 4 NULL 1 Using
where
1 SIMPLE t3 range PRIMARY PRIMARY 4 NULL 1 Using
index condition; Using MRR
# SELECT * FROM tbl_name WHERE <non-indexed vcol expr>
# SELECT * FROM tbl_name WHERE <non-indexed vcol expr>
select * from t3 where b between -2 and -1;
select * from t3 where b between -2 and -1;
a b c
a b c
...
@@ -165,7 +165,7 @@ a b c
...
@@ -165,7 +165,7 @@ a b c
1 -1 -1
1 -1 -1
explain select * from t3 where c between -2 and -1;
explain select * from t3 where c between -2 and -1;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t3 range c c 5 NULL 1 Using
where
1 SIMPLE t3 range c c 5 NULL 1 Using
index condition; Using MRR
# SELECT * FROM tbl_name WHERE <non-vcol expr> ORDER BY <indexed vcol>
# SELECT * FROM tbl_name WHERE <non-vcol expr> ORDER BY <indexed vcol>
select * from t3 where a between 1 and 2 order by c;
select * from t3 where a between 1 and 2 order by c;
a b c
a b c
...
@@ -173,7 +173,7 @@ a b c
...
@@ -173,7 +173,7 @@ a b c
1 -1 -1
1 -1 -1
explain select * from t3 where a between 1 and 2 order by c;
explain select * from t3 where a between 1 and 2 order by c;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t3 range PRIMARY PRIMARY 4 NULL 1 Using
where
; Using filesort
1 SIMPLE t3 range PRIMARY PRIMARY 4 NULL 1 Using
index condition; Using where; Using MRR
; Using filesort
# SELECT * FROM tbl_name WHERE <non-indexed vcol expr> ORDER BY <non-vcol>
# SELECT * FROM tbl_name WHERE <non-indexed vcol expr> ORDER BY <non-vcol>
select * from t3 where b between -2 and -1 order by a;
select * from t3 where b between -2 and -1 order by a;
a b c
a b c
...
@@ -189,7 +189,7 @@ a b c
...
@@ -189,7 +189,7 @@ a b c
2 -2 -2
2 -2 -2
explain select * from t3 where c between -2 and -1 order by a;
explain select * from t3 where c between -2 and -1 order by a;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t3 range c c 5 NULL 1 Using
where
; Using filesort
1 SIMPLE t3 range c c 5 NULL 1 Using
index condition; Using where; Using MRR
; Using filesort
# SELECT * FROM tbl_name WHERE <non-indexed vcol expr> ORDER BY <non-indexed vcol>
# SELECT * FROM tbl_name WHERE <non-indexed vcol expr> ORDER BY <non-indexed vcol>
select * from t3 where b between -2 and -1 order by b;
select * from t3 where b between -2 and -1 order by b;
a b c
a b c
...
@@ -205,7 +205,7 @@ a b c
...
@@ -205,7 +205,7 @@ a b c
1 -1 -1
1 -1 -1
explain select * from t3 where c between -2 and -1 order by b;
explain select * from t3 where c between -2 and -1 order by b;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t3 range c c 5 NULL 1 Using
where
; Using filesort
1 SIMPLE t3 range c c 5 NULL 1 Using
index condition; Using MRR
; Using filesort
# SELECT * FROM tbl_name WHERE <non-indexed vcol expr> ORDER BY <indexed vcol>
# SELECT * FROM tbl_name WHERE <non-indexed vcol expr> ORDER BY <indexed vcol>
select * from t3 where b between -2 and -1 order by c;
select * from t3 where b between -2 and -1 order by c;
a b c
a b c
...
@@ -221,7 +221,7 @@ a b c
...
@@ -221,7 +221,7 @@ a b c
1 -1 -1
1 -1 -1
explain select * from t3 where c between -2 and -1 order by c;
explain select * from t3 where c between -2 and -1 order by c;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t3 range c c 5 NULL 1 Using
where
1 SIMPLE t3 range c c 5 NULL 1 Using
index condition
# SELECT sum(<non-indexed vcol>) FROM tbl_name GROUP BY <non-indexed vcol>
# SELECT sum(<non-indexed vcol>) FROM tbl_name GROUP BY <non-indexed vcol>
select sum(b) from t1 group by b;
select sum(b) from t1 group by b;
sum(b)
sum(b)
...
...
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