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
1275dad4
Commit
1275dad4
authored
Jun 07, 2010
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated test results in the pbxt suite
parent
ac6b3c44
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
37 deletions
+37
-37
mysql-test/suite/pbxt/r/group_min_max.result
mysql-test/suite/pbxt/r/group_min_max.result
+8
-8
mysql-test/suite/pbxt/r/null_key.result
mysql-test/suite/pbxt/r/null_key.result
+3
-3
mysql-test/suite/pbxt/r/partition_pruning.result
mysql-test/suite/pbxt/r/partition_pruning.result
+14
-14
mysql-test/suite/pbxt/r/update.result
mysql-test/suite/pbxt/r/update.result
+12
-12
No files found.
mysql-test/suite/pbxt/r/group_min_max.result
View file @
1275dad4
...
@@ -2199,7 +2199,7 @@ max(b) a
...
@@ -2199,7 +2199,7 @@ max(b) a
SHOW STATUS LIKE 'handler_read__e%';
SHOW STATUS LIKE 'handler_read__e%';
Variable_name Value
Variable_name Value
Handler_read_key 0
Handler_read_key 0
Handler_read_next
0
Handler_read_next
15
EXPLAIN SELECT max(b), a FROM t1 GROUP BY a;
EXPLAIN SELECT max(b), a FROM t1 GROUP 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 t1 index NULL a 10 NULL 15 Using index
1 SIMPLE t1 index NULL a 10 NULL 15 Using index
...
@@ -2208,7 +2208,7 @@ CREATE TABLE t2 SELECT max(b), a FROM t1 GROUP BY a;
...
@@ -2208,7 +2208,7 @@ CREATE TABLE t2 SELECT max(b), a FROM t1 GROUP BY a;
SHOW STATUS LIKE 'handler_read__e%';
SHOW STATUS LIKE 'handler_read__e%';
Variable_name Value
Variable_name Value
Handler_read_key 0
Handler_read_key 0
Handler_read_next
0
Handler_read_next
15
FLUSH STATUS;
FLUSH STATUS;
SELECT * FROM (SELECT max(b), a FROM t1 GROUP BY a) b;
SELECT * FROM (SELECT max(b), a FROM t1 GROUP BY a) b;
max(b) a
max(b) a
...
@@ -2219,7 +2219,7 @@ max(b) a
...
@@ -2219,7 +2219,7 @@ max(b) a
SHOW STATUS LIKE 'handler_read__e%';
SHOW STATUS LIKE 'handler_read__e%';
Variable_name Value
Variable_name Value
Handler_read_key 0
Handler_read_key 0
Handler_read_next
0
Handler_read_next
15
FLUSH STATUS;
FLUSH STATUS;
(SELECT max(b), a FROM t1 GROUP BY a) UNION
(SELECT max(b), a FROM t1 GROUP BY a) UNION
(SELECT max(b), a FROM t1 GROUP BY a);
(SELECT max(b), a FROM t1 GROUP BY a);
...
@@ -2231,7 +2231,7 @@ max(b) a
...
@@ -2231,7 +2231,7 @@ max(b) a
SHOW STATUS LIKE 'handler_read__e%';
SHOW STATUS LIKE 'handler_read__e%';
Variable_name Value
Variable_name Value
Handler_read_key 0
Handler_read_key 0
Handler_read_next 0
Handler_read_next
3
0
EXPLAIN (SELECT max(b), a FROM t1 GROUP BY a) UNION
EXPLAIN (SELECT max(b), a FROM t1 GROUP BY a) UNION
(SELECT max(b), a FROM t1 GROUP BY a);
(SELECT max(b), a FROM t1 GROUP 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
...
@@ -2282,7 +2282,7 @@ INSERT INTO t3 SELECT a,MAX(b) FROM t1 GROUP BY a;
...
@@ -2282,7 +2282,7 @@ INSERT INTO t3 SELECT a,MAX(b) FROM t1 GROUP BY a;
SHOW STATUS LIKE 'handler_read__e%';
SHOW STATUS LIKE 'handler_read__e%';
Variable_name Value
Variable_name Value
Handler_read_key 0
Handler_read_key 0
Handler_read_next
0
Handler_read_next
15
DELETE FROM t3;
DELETE FROM t3;
FLUSH STATUS;
FLUSH STATUS;
INSERT INTO t3 SELECT 1, (SELECT MAX(b) FROM t1 GROUP BY a HAVING a < 2)
INSERT INTO t3 SELECT 1, (SELECT MAX(b) FROM t1 GROUP BY a HAVING a < 2)
...
@@ -2290,13 +2290,13 @@ FROM t1 LIMIT 1;
...
@@ -2290,13 +2290,13 @@ FROM t1 LIMIT 1;
SHOW STATUS LIKE 'handler_read__e%';
SHOW STATUS LIKE 'handler_read__e%';
Variable_name Value
Variable_name Value
Handler_read_key 0
Handler_read_key 0
Handler_read_next
0
Handler_read_next
15
FLUSH STATUS;
FLUSH STATUS;
DELETE FROM t3 WHERE (SELECT MAX(b) FROM t1 GROUP BY a HAVING a < 2) > 10000;
DELETE FROM t3 WHERE (SELECT MAX(b) FROM t1 GROUP BY a HAVING a < 2) > 10000;
SHOW STATUS LIKE 'handler_read__e%';
SHOW STATUS LIKE 'handler_read__e%';
Variable_name Value
Variable_name Value
Handler_read_key 0
Handler_read_key 0
Handler_read_next
0
Handler_read_next
15
FLUSH STATUS;
FLUSH STATUS;
DELETE FROM t3 WHERE (SELECT (SELECT MAX(b) FROM t1 GROUP BY a HAVING a < 2) x
DELETE FROM t3 WHERE (SELECT (SELECT MAX(b) FROM t1 GROUP BY a HAVING a < 2) x
FROM t1) > 10000;
FROM t1) > 10000;
...
@@ -2304,7 +2304,7 @@ ERROR 21000: Subquery returns more than 1 row
...
@@ -2304,7 +2304,7 @@ ERROR 21000: Subquery returns more than 1 row
SHOW STATUS LIKE 'handler_read__e%';
SHOW STATUS LIKE 'handler_read__e%';
Variable_name Value
Variable_name Value
Handler_read_key 0
Handler_read_key 0
Handler_read_next
0
Handler_read_next
16
DROP TABLE t1,t2,t3;
DROP TABLE t1,t2,t3;
CREATE TABLE t1 (a int, INDEX idx(a));
CREATE TABLE t1 (a int, INDEX idx(a));
INSERT INTO t1 VALUES
INSERT INTO t1 VALUES
...
...
mysql-test/suite/pbxt/r/null_key.result
View file @
1275dad4
...
@@ -423,9 +423,9 @@ FOUND_ROWS()
...
@@ -423,9 +423,9 @@ FOUND_ROWS()
SHOW STATUS LIKE "handler_read%";
SHOW STATUS LIKE "handler_read%";
Variable_name Value
Variable_name Value
Handler_read_first 0
Handler_read_first 0
Handler_read_key
0
Handler_read_key
6
Handler_read_next
0
Handler_read_next
2
Handler_read_prev 0
Handler_read_prev 0
Handler_read_rnd 0
Handler_read_rnd 0
Handler_read_rnd_next
0
Handler_read_rnd_next
5
DROP TABLE t1,t2,t3,t4;
DROP TABLE t1,t2,t3,t4;
mysql-test/suite/pbxt/r/partition_pruning.result
View file @
1275dad4
...
@@ -390,7 +390,7 @@ flush status;
...
@@ -390,7 +390,7 @@ flush status;
update t1 set a=100 where a+1=5+1;
update t1 set a=100 where a+1=5+1;
show status like 'Handler_read_rnd_next';
show status like 'Handler_read_rnd_next';
Variable_name Value
Variable_name Value
Handler_read_rnd_next 0
Handler_read_rnd_next
1
0
flush status;
flush status;
delete from t1 where a=5;
delete from t1 where a=5;
show status like 'Handler_read_rnd_next';
show status like 'Handler_read_rnd_next';
...
@@ -400,7 +400,7 @@ flush status;
...
@@ -400,7 +400,7 @@ flush status;
delete from t1 where a+1=5+1;
delete from t1 where a+1=5+1;
show status like 'Handler_read_rnd_next';
show status like 'Handler_read_rnd_next';
Variable_name Value
Variable_name Value
Handler_read_rnd_next 0
Handler_read_rnd_next
1
0
create table t2 like t1;
create table t2 like t1;
insert into t2 select * from t2;
insert into t2 select * from t2;
flush status;
flush status;
...
@@ -468,7 +468,7 @@ flush status;
...
@@ -468,7 +468,7 @@ flush status;
update t2 set b = 100 where b = 6;
update t2 set b = 100 where b = 6;
show status like 'Handler_read_rnd_next';
show status like 'Handler_read_rnd_next';
Variable_name Value
Variable_name Value
Handler_read_rnd_next
0
Handler_read_rnd_next
1015
flush status;
flush status;
update t2 set a = 1002 where a = 1001;
update t2 set a = 1002 where a = 1001;
show status like 'Handler_read_rnd_next';
show status like 'Handler_read_rnd_next';
...
@@ -478,17 +478,17 @@ flush status;
...
@@ -478,17 +478,17 @@ flush status;
update t2 set b = 6 where a = 600;
update t2 set b = 6 where a = 600;
show status like 'Handler_read_rnd_next';
show status like 'Handler_read_rnd_next';
Variable_name Value
Variable_name Value
Handler_read_rnd_next
0
Handler_read_rnd_next
201
flush status;
flush status;
update t2 set b = 6 where a > 600 and a < 800;
update t2 set b = 6 where a > 600 and a < 800;
show status like 'Handler_read_rnd_next';
show status like 'Handler_read_rnd_next';
Variable_name Value
Variable_name Value
Handler_read_rnd_next
0
Handler_read_rnd_next
201
flush status;
flush status;
delete from t2 where a > 600;
delete from t2 where a > 600;
show status like 'Handler_read_rnd_next';
show status like 'Handler_read_rnd_next';
Variable_name Value
Variable_name Value
Handler_read_rnd_next
0
Handler_read_rnd_next
402
drop table t2;
drop table t2;
CREATE TABLE `t2` (
CREATE TABLE `t2` (
`a` int(11) default NULL,
`a` int(11) default NULL,
...
@@ -605,7 +605,7 @@ Variable_name Value
...
@@ -605,7 +605,7 @@ Variable_name Value
Handler_read_rnd_next 0
Handler_read_rnd_next 0
show status like 'Handler_read_key';
show status like 'Handler_read_key';
Variable_name Value
Variable_name Value
Handler_read_key
0
Handler_read_key
5
flush status;
flush status;
update t2 set a = 111 where b in (5,6);
update t2 set a = 111 where b in (5,6);
show status like 'Handler_read_rnd_next';
show status like 'Handler_read_rnd_next';
...
@@ -613,7 +613,7 @@ Variable_name Value
...
@@ -613,7 +613,7 @@ Variable_name Value
Handler_read_rnd_next 0
Handler_read_rnd_next 0
show status like 'Handler_read_key';
show status like 'Handler_read_key';
Variable_name Value
Variable_name Value
Handler_read_key 0
Handler_read_key
1
0
flush status;
flush status;
update t2 set a = 222 where b = 7;
update t2 set a = 222 where b = 7;
show status like 'Handler_read_rnd_next';
show status like 'Handler_read_rnd_next';
...
@@ -621,7 +621,7 @@ Variable_name Value
...
@@ -621,7 +621,7 @@ Variable_name Value
Handler_read_rnd_next 0
Handler_read_rnd_next 0
show status like 'Handler_read_key';
show status like 'Handler_read_key';
Variable_name Value
Variable_name Value
Handler_read_key
0
Handler_read_key
5
flush status;
flush status;
delete from t2 where b = 7;
delete from t2 where b = 7;
show status like 'Handler_read_rnd_next';
show status like 'Handler_read_rnd_next';
...
@@ -629,7 +629,7 @@ Variable_name Value
...
@@ -629,7 +629,7 @@ Variable_name Value
Handler_read_rnd_next 0
Handler_read_rnd_next 0
show status like 'Handler_read_key';
show status like 'Handler_read_key';
Variable_name Value
Variable_name Value
Handler_read_key
0
Handler_read_key
5
flush status;
flush status;
delete from t2 where b > 5;
delete from t2 where b > 5;
show status like 'Handler_read_rnd_next';
show status like 'Handler_read_rnd_next';
...
@@ -637,13 +637,13 @@ Variable_name Value
...
@@ -637,13 +637,13 @@ Variable_name Value
Handler_read_rnd_next 0
Handler_read_rnd_next 0
show status like 'Handler_read_key';
show status like 'Handler_read_key';
Variable_name Value
Variable_name Value
Handler_read_key
0
Handler_read_key
5
show status like 'Handler_read_prev';
show status like 'Handler_read_prev';
Variable_name Value
Variable_name Value
Handler_read_prev 0
Handler_read_prev 0
show status like 'Handler_read_next';
show status like 'Handler_read_next';
Variable_name Value
Variable_name Value
Handler_read_next 0
Handler_read_next
30
0
flush status;
flush status;
delete from t2 where b < 5 or b > 3;
delete from t2 where b < 5 or b > 3;
show status like 'Handler_read_rnd_next';
show status like 'Handler_read_rnd_next';
...
@@ -651,13 +651,13 @@ Variable_name Value
...
@@ -651,13 +651,13 @@ Variable_name Value
Handler_read_rnd_next 0
Handler_read_rnd_next 0
show status like 'Handler_read_key';
show status like 'Handler_read_key';
Variable_name Value
Variable_name Value
Handler_read_key 0
Handler_read_key
1
0
show status like 'Handler_read_prev';
show status like 'Handler_read_prev';
Variable_name Value
Variable_name Value
Handler_read_prev 0
Handler_read_prev 0
show status like 'Handler_read_next';
show status like 'Handler_read_next';
Variable_name Value
Variable_name Value
Handler_read_next 0
Handler_read_next
51
0
drop table t1, t2;
drop table t1, t2;
create table t1 ( f_int1 mediumint, f_int2 integer)
create table t1 ( f_int1 mediumint, f_int2 integer)
partition by list(mod(f_int1,4)) (
partition by list(mod(f_int1,4)) (
...
...
mysql-test/suite/pbxt/r/update.result
View file @
1275dad4
...
@@ -271,7 +271,7 @@ a
...
@@ -271,7 +271,7 @@ a
0
0
show status like 'handler_read%';
show status like 'handler_read%';
Variable_name Value
Variable_name Value
Handler_read_first
0
Handler_read_first
1
Handler_read_key 0
Handler_read_key 0
Handler_read_next 0
Handler_read_next 0
Handler_read_prev 0
Handler_read_prev 0
...
@@ -289,8 +289,8 @@ Handler_read_first 0
...
@@ -289,8 +289,8 @@ Handler_read_first 0
Handler_read_key 0
Handler_read_key 0
Handler_read_next 0
Handler_read_next 0
Handler_read_prev 0
Handler_read_prev 0
Handler_read_rnd
0
Handler_read_rnd
2
Handler_read_rnd_next
0
Handler_read_rnd_next
18
flush status;
flush status;
delete from t1 order by a limit 1;
delete from t1 order by a limit 1;
show status like 'handler_read%';
show status like 'handler_read%';
...
@@ -299,8 +299,8 @@ Handler_read_first 0
...
@@ -299,8 +299,8 @@ Handler_read_first 0
Handler_read_key 0
Handler_read_key 0
Handler_read_next 0
Handler_read_next 0
Handler_read_prev 0
Handler_read_prev 0
Handler_read_rnd
0
Handler_read_rnd
1
Handler_read_rnd_next
0
Handler_read_rnd_next
9
flush status;
flush status;
delete from t1 order by a desc limit 1;
delete from t1 order by a desc limit 1;
show status like 'handler_read%';
show status like 'handler_read%';
...
@@ -309,8 +309,8 @@ Handler_read_first 0
...
@@ -309,8 +309,8 @@ Handler_read_first 0
Handler_read_key 0
Handler_read_key 0
Handler_read_next 0
Handler_read_next 0
Handler_read_prev 0
Handler_read_prev 0
Handler_read_rnd
0
Handler_read_rnd
1
Handler_read_rnd_next
0
Handler_read_rnd_next
8
alter table t1 disable keys;
alter table t1 disable keys;
Warnings:
Warnings:
Note 1031 Table storage engine for 't1' doesn't have this option
Note 1031 Table storage engine for 't1' doesn't have this option
...
@@ -322,8 +322,8 @@ Handler_read_first 0
...
@@ -322,8 +322,8 @@ Handler_read_first 0
Handler_read_key 0
Handler_read_key 0
Handler_read_next 0
Handler_read_next 0
Handler_read_prev 0
Handler_read_prev 0
Handler_read_rnd
0
Handler_read_rnd
1
Handler_read_rnd_next
0
Handler_read_rnd_next
7
select * from t1;
select * from t1;
a b
a b
0 0
0 0
...
@@ -372,10 +372,10 @@ update t2 set a=3 where a=2;
...
@@ -372,10 +372,10 @@ update t2 set a=3 where a=2;
show status like 'handler_read%';
show status like 'handler_read%';
Variable_name Value
Variable_name Value
Handler_read_first 0
Handler_read_first 0
Handler_read_key
0
Handler_read_key
1
Handler_read_next
0
Handler_read_next
1
Handler_read_prev 0
Handler_read_prev 0
Handler_read_rnd
0
Handler_read_rnd
1
Handler_read_rnd_next 0
Handler_read_rnd_next 0
drop table t1, t2;
drop table t1, t2;
create table t1(f1 int, `*f2` int);
create table t1(f1 int, `*f2` int);
...
...
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