Skip to content

Commit

Permalink
修改mtr执行结果
Browse files Browse the repository at this point in the history
  • Loading branch information
yibantianxia committed Oct 18, 2021
1 parent 45b35ea commit 5c77246
Show file tree
Hide file tree
Showing 40 changed files with 720 additions and 720 deletions.
4 changes: 2 additions & 2 deletions mysql-test/r/ctype_binary.result-pq
Original file line number Diff line number Diff line change
Expand Up @@ -2649,7 +2649,7 @@ Table Op Msg_type Msg_text
test.t1 analyze status OK
EXPLAIN SELECT * FROM t1 WHERE date_column BETWEEN '2010-09-01' AND '2010-10-01';
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (2 workers)
2 SIMPLE t1 NULL range date_column date_column 4 NULL 2 100.00 Using index condition
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`id` AS `id`,`test`.`t1`.`date_column` AS `date_column` from `test`.`t1` where (`test`.`t1`.`date_column` between '2010-09-01' and '2010-10-01')
Expand All @@ -2659,7 +2659,7 @@ Table Op Msg_type Msg_text
test.t1 analyze status OK
EXPLAIN SELECT * FROM t1 WHERE date_column BETWEEN '2010-09-01' AND '2010-10-01';
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (2 workers)
2 SIMPLE t1 NULL range date_column date_column 6 NULL 2 100.00 Using index condition
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`id` AS `id`,`test`.`t1`.`date_column` AS `date_column` from `test`.`t1` where (`test`.`t1`.`date_column` between '2010-09-01' and '2010-10-01')
Expand Down
4 changes: 2 additions & 2 deletions mysql-test/r/ctype_cp1251.result-pq
Original file line number Diff line number Diff line change
Expand Up @@ -3038,7 +3038,7 @@ Table Op Msg_type Msg_text
test.t1 analyze status OK
EXPLAIN SELECT * FROM t1 WHERE date_column BETWEEN '2010-09-01' AND '2010-10-01';
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (2 workers)
2 SIMPLE t1 NULL range date_column date_column 4 NULL 2 100.00 Using index condition
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`id` AS `id`,`test`.`t1`.`date_column` AS `date_column` from `test`.`t1` where (`test`.`t1`.`date_column` between '2010-09-01' and '2010-10-01')
Expand All @@ -3048,7 +3048,7 @@ Table Op Msg_type Msg_text
test.t1 analyze status OK
EXPLAIN SELECT * FROM t1 WHERE date_column BETWEEN '2010-09-01' AND '2010-10-01';
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (2 workers)
2 SIMPLE t1 NULL range date_column date_column 6 NULL 2 100.00 Using index condition
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`id` AS `id`,`test`.`t1`.`date_column` AS `date_column` from `test`.`t1` where (`test`.`t1`.`date_column` between '2010-09-01' and '2010-10-01')
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/ctype_uca.result-pq
Original file line number Diff line number Diff line change
Expand Up @@ -7475,7 +7475,7 @@ F09090A8 30D2 𐐨
ALTER TABLE t1 ADD KEY(c);
EXPLAIN SELECT hex(c) FROM t1 WHERE c LIKE 'a%' ORDER BY c;
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 4 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 4 100.00 Parallel execute (4 workers)
2 SIMPLE t1 NULL range c c 43 NULL 4 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select hex(`test`.`t1`.`c`) AS `hex(c)` from `test`.`t1` where (`test`.`t1`.`c` like 'a%') order by `test`.`t1`.`c`
Expand Down
8 changes: 4 additions & 4 deletions mysql-test/r/ctype_ucs.result-pq
Original file line number Diff line number Diff line change
Expand Up @@ -244,13 +244,13 @@ t1 CREATE TABLE `t1` (
insert into t1 values ("a"),("abc"),("abcd"),("hello"),("test");
explain select * from t1 where a like 'abc%';
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (3 workers)
2 SIMPLE t1 NULL range a a 23 NULL 2 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`a` AS `a` from `test`.`t1` where (`test`.`t1`.`a` like 'abc%')
explain select * from t1 where a like concat('abc','%');
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (3 workers)
2 SIMPLE t1 NULL range a a 23 NULL 2 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`a` AS `a` from `test`.`t1` where (`test`.`t1`.`a` like <cache>(concat('abc','%')))
Expand Down Expand Up @@ -3850,7 +3850,7 @@ Table Op Msg_type Msg_text
test.t1 analyze status OK
EXPLAIN SELECT * FROM t1 WHERE date_column BETWEEN '2010-09-01' AND '2010-10-01';
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (2 workers)
2 SIMPLE t1 NULL ALL NULL NULL NULL NULL 2 100.00 Using where
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`id` AS `id`,`test`.`t1`.`date_column` AS `date_column` from `test`.`t1` where (convert(`test`.`t1`.`date_column` using ucs2) between '2010-09-01' and '2010-10-01')
Expand All @@ -3860,7 +3860,7 @@ Table Op Msg_type Msg_text
test.t1 analyze status OK
EXPLAIN SELECT * FROM t1 WHERE date_column BETWEEN '2010-09-01' AND '2010-10-01';
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (2 workers)
2 SIMPLE t1 NULL ALL NULL NULL NULL NULL 2 100.00 Using where
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`id` AS `id`,`test`.`t1`.`date_column` AS `date_column` from `test`.`t1` where (convert(`test`.`t1`.`date_column` using ucs2) between '2010-09-01' and '2010-10-01')
Expand Down
4 changes: 2 additions & 2 deletions mysql-test/r/ctype_utf16.result-pq
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ t1 CREATE TABLE `t1` (
insert into t1 values ("a"),("abc"),("abcd"),("hello"),("test");
explain select * from t1 where a like 'abc%';
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (3 workers)
2 SIMPLE t1 NULL range a a 43 NULL 2 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`a` AS `a` from `test`.`t1` where (`test`.`t1`.`a` like 'abc%')
explain select * from t1 where a like concat('abc','%');
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (3 workers)
2 SIMPLE t1 NULL range a a 43 NULL 2 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`a` AS `a` from `test`.`t1` where (`test`.`t1`.`a` like <cache>(concat('abc','%')))
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/ctype_utf16_uca.result-pq
Original file line number Diff line number Diff line change
Expand Up @@ -3573,7 +3573,7 @@ D801DC28 30D2 𐐨
ALTER TABLE t1 ADD KEY(c);
EXPLAIN SELECT hex(c) FROM t1 WHERE c LIKE 'a%' ORDER BY c;
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 4 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 4 100.00 Parallel execute (4 workers)
2 SIMPLE t1 NULL range c c 43 NULL 4 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select hex(`test`.`t1`.`c`) AS `hex(c)` from `test`.`t1` where (`test`.`t1`.`c` like 'a%') order by `test`.`t1`.`c`
Expand Down
6 changes: 3 additions & 3 deletions mysql-test/r/ctype_utf16le.result-pq
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,13 @@ t1 CREATE TABLE `t1` (
insert into t1 values ("a"),("abc"),("abcd"),("hello"),("test");
explain select * from t1 where a like 'abc%';
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (3 workers)
2 SIMPLE t1 NULL range a a 43 NULL 2 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`a` AS `a` from `test`.`t1` where (`test`.`t1`.`a` like 'abc%')
explain select * from t1 where a like concat('abc','%');
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (3 workers)
2 SIMPLE t1 NULL range a a 43 NULL 2 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`a` AS `a` from `test`.`t1` where (`test`.`t1`.`a` like <cache>(concat('abc','%')))
Expand Down Expand Up @@ -1043,8 +1043,8 @@ a CAST(a AS SIGNED)
-18446744073709551614 -9223372036854775808
-18446744073709551615 -9223372036854775808
Warnings:
Warning 1292 Truncated incorrect INTEGER value: '-18446744073709551614'
Warning 1292 Truncated incorrect INTEGER value: '-18446744073709551615'
Warning 1292 Truncated incorrect INTEGER value: '-18446744073709551614'
DROP TABLE t1;
#
# Testing cs->cset->strntoull10rnd
Expand Down
4 changes: 2 additions & 2 deletions mysql-test/r/ctype_utf32.result-pq
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,13 @@ t1 CREATE TABLE `t1` (
insert into t1 values ("a"),("abc"),("abcd"),("hello"),("test");
explain select * from t1 where a like 'abc%';
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (3 workers)
2 SIMPLE t1 NULL range a a 43 NULL 2 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`a` AS `a` from `test`.`t1` where (`test`.`t1`.`a` like 'abc%')
explain select * from t1 where a like concat('abc','%');
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (3 workers)
2 SIMPLE t1 NULL range a a 43 NULL 2 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`a` AS `a` from `test`.`t1` where (`test`.`t1`.`a` like <cache>(concat('abc','%')))
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/ctype_utf32_uca.result-pq
Original file line number Diff line number Diff line change
Expand Up @@ -3597,7 +3597,7 @@ hex(c) hex(weight_string(c)) c
ALTER TABLE t1 ADD KEY(c);
EXPLAIN SELECT hex(c) FROM t1 WHERE c LIKE 'a%' ORDER BY c;
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 4 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 4 100.00 Parallel execute (4 workers)
2 SIMPLE t1 NULL range c c 43 NULL 4 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select hex(`test`.`t1`.`c`) AS `hex(c)` from `test`.`t1` where (`test`.`t1`.`c` like 'a%') order by `test`.`t1`.`c`
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/delete.result-pq
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ Table Op Msg_type Msg_text
test.t3 analyze status OK
explain select * from t1,t2,t3 where t1.a=t2.a AND t2.b=t3.a and t1.b=t3.b;
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 3 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 3 100.00 Parallel execute (3 workers)
2 SIMPLE t1 NULL ALL NULL NULL NULL NULL 3 100.00 NULL
2 SIMPLE t2 NULL ref PRIMARY PRIMARY 4 test.t1.a 1 100.00 Using index
2 SIMPLE t3 NULL eq_ref PRIMARY PRIMARY 8 test.t2.b,test.t1.b 1 100.00 Using index
Expand Down
6 changes: 3 additions & 3 deletions mysql-test/r/derived_correlated.result-pq
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ LATERAL
# prevents join buffer if materialized (but not if merged)
explain select dt.a from t1, lateral (select t1.a from t2) dt;
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (2 workers)
2 SIMPLE t1 NULL ALL NULL NULL NULL NULL 2 100.00 NULL
2 SIMPLE t2 NULL ALL NULL NULL NULL NULL 2 100.00 Using join buffer (hash join)
Warnings:
Expand Down Expand Up @@ -774,7 +774,7 @@ Handler_write 2
# Show the trace of planning of lateral derived tables
explain select * from t1, lateral (select t1.a from t2 as t3, t2 as t4) as dt, t2;
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (2 workers)
2 SIMPLE t1 NULL ALL NULL NULL NULL NULL 2 100.00 NULL
2 SIMPLE t3 NULL ALL NULL NULL NULL NULL 2 100.00 Using join buffer (hash join)
2 SIMPLE t4 NULL ALL NULL NULL NULL NULL 2 100.00 Using join buffer (hash join)
Expand Down Expand Up @@ -1509,7 +1509,7 @@ test.t3 analyze status OK
explain select * from t1, lateral (select t3.b from t3 where t3.a=t1.a) dt
where dt.b=t1.a+9;
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 2 100.00 Parallel execute (2 workers)
2 SIMPLE t1 NULL ALL NULL NULL NULL NULL 2 100.00 NULL
2 SIMPLE t3 NULL ALL NULL NULL NULL NULL 4 25.00 Using where; Using join buffer (hash join)
Warnings:
Expand Down
8 changes: 4 additions & 4 deletions mysql-test/r/distinct_innodb.result-pq
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ Verify that DISTINCT is optimized away even if the aggregate
function is hidden in a subquery
EXPLAIN SELECT DISTINCT MAX(b) FROM t1;
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 4 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 4 100.00 Parallel execute (4 workers)
2 SIMPLE t1 NULL ALL NULL NULL NULL NULL 4 100.00 NULL
Warnings:
Note 1003 /* select#1 */ select max(`test`.`t1`.`b`) AS `MAX(b)` from `test`.`t1`
Expand Down Expand Up @@ -455,7 +455,7 @@ Verify that DISTINCT is optimized away even if the aggregate
function is hidden in a subquery
EXPLAIN SELECT DISTINCT MAX(b) FROM t1;
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 4 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 4 100.00 Parallel execute (4 workers)
2 SIMPLE t1 NULL ALL NULL NULL NULL NULL 4 100.00 NULL
Warnings:
Note 1003 /* select#1 */ select max(`test`.`t1`.`b`) AS `MAX(b)` from `test`.`t1`
Expand Down Expand Up @@ -685,7 +685,7 @@ Verify that DISTINCT is optimized away even if the aggregate
function is hidden in a subquery
EXPLAIN SELECT DISTINCT MAX(b) FROM t1;
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 4 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 4 100.00 Parallel execute (4 workers)
2 SIMPLE t1 NULL ALL NULL NULL NULL NULL 4 100.00 NULL
Warnings:
Note 1003 /* select#1 */ select max(`test`.`t1`.`b`) AS `MAX(b)` from `test`.`t1`
Expand Down Expand Up @@ -915,7 +915,7 @@ Verify that DISTINCT is optimized away even if the aggregate
function is hidden in a subquery
EXPLAIN SELECT DISTINCT MAX(b) FROM t1;
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 4 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 4 100.00 Parallel execute (4 workers)
2 SIMPLE t1 NULL ALL NULL NULL NULL NULL 4 100.00 NULL
Warnings:
Note 1003 /* select#1 */ select max(`test`.`t1`.`b`) AS `MAX(b)` from `test`.`t1`
Expand Down
4 changes: 2 additions & 2 deletions mysql-test/r/endspace.result-pq
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ teststring
teststring
explain select * from t1 order by text1;
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 3 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 3 100.00 Parallel execute (3 workers)
2 SIMPLE t1 NULL index NULL key1 34 NULL 3 100.00 Using index
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`text1` AS `text1` from `test`.`t1` order by `test`.`t1`.`text1`
Expand Down Expand Up @@ -199,7 +199,7 @@ teststring
teststring
explain select * from t1 order by text1;
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 3 100.00 Parallel execute (1 workers)
1 SIMPLE <gather2> NULL ALL NULL NULL NULL NULL 3 100.00 Parallel execute (3 workers)
2 SIMPLE t1 NULL index NULL key1 34 NULL 3 100.00 Using index
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`text1` AS `text1` from `test`.`t1` order by `test`.`t1`.`text1`
Expand Down
Loading

0 comments on commit 5c77246

Please sign in to comment.