Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tokudb 5.7 #1

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mysql-test/std_data/leak172_t1.data
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
\N,\N,\N,\N,-1,\N,\N,,0,\N,,\N,\N,\N,,\N,2004-11-01 01:02:04.031903,\N,\N,0000-00-00,\N,\N,0000-00-00,\N,\N,\N,\N,,0,\N,\N,0,\N,0000-00-00,1,0,\N
\N,\N,\N,\N,,\N,\N,,0,\N,,\N,\N,\N,,\N,,\N,\N,0000-00-00,\N,\N,0000-00-00,\N,\N,\N,\N,,0,\N,9,0,\N,0000-00-00,2,0,\N
\N,\N,\N,\N,-1,\N,\N,,0,\N,,\N,\N,\N,,\N,2004-11-01 01:02:04.031903,\N,\N,1970-01-01,\N,\N,1970-01-01,\N,\N,\N,\N,,0,\N,\N,0,\N,1970-01-01,1,0,\N
\N,\N,\N,\N,,\N,\N,,0,\N,,\N,\N,\N,,\N,,\N,\N,1970-01-01,\N,\N,1970-01-01,\N,\N,\N,\N,,0,\N,9,0,\N,1970-01-01,2,0,\N
2 changes: 1 addition & 1 deletion mysql-test/std_data/leak172_t2.data
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ q<Uٳf
�ap\0@C�\0�����7�HE�˱����4q�=}8��8�fDZ�0$V����*�=#1� 3��4�ْ�#���o��_�L��̯!�����qv_��RB)"���1f�(��U2�wIn\0� k��_Fu���N�~�(��s'!VM�S���r��Fv�z|�U7H9���Z����Nb���a$��k���wŭ�iXR���b���u�3��ŃW��9R��&b������� \0~���ն�lV�6�&S�ԃQ���:I+pjo�M�Ss��c�����9���G�@j��OÊ%�Ŏ�Џ��T�\0Ԯ6��V����h��Tǁ�P�o�LUd�@?\,FB�`F)$��S-F�*�oDW�j�Cңh\\�Ʈ��� ���A9���W���˸��������@��Ul�R8T/0X����&�2��* �>c���P��\
\\�\
���|�动I9V+܍�s�\
v*v>8:CΧ�\0�P�\0k�G�m��� �0�����KP=�«��|1T �ɉ�f͊�6lث�f͊����f�*��U���ʮlR�ٳb�f͛vl�'+vlٱWe�+6*�ٳb�͛6*�ٳb�͛6*�ٳb�����l�'+vlٱWf͛E$�-03��ث�Q�ı�B1V��S͛l/>8 64����+,d,1503068160,1,-1762852864,2003-10-03,m,with,come,0000-00-00,����\0JFIF\0\0H\0H\0\0��Photoshop 3.0\08BIM�\0\0\0\0\0x\0\0\0\0H\0H\0\0\0\0�(�����FG(�\0\0\0\0H\0H\0\0\0\0�(\0\0\0\0d\0\0\0\0\0\0\0'\0\0\0\0\0\0\0\0\0\0\0\0\0\0`\0�\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\08BIM�\0\0\0\0\0\0H\0\0\0\0\0H\0\0\0\08BIM\0\0\0\0\0\0\0\0x8BIM\0\0\0\0\0\0\0\08BIM�\0\0\0\0\0 \0\0\0\0\0\0\0\0\08BIM\
v*v>8:CΧ�\0�P�\0k�G�m��� �0�����KP=�«��|1T �ɉ�f͊�6lث�f͊����f�*��U���ʮlR�ٳb�f͛vl�'+vlٱWe�+6*�ٳb�͛6*�ٳb�͛6*�ٳb�����l�'+vlٱWf͛E$�-03��ث�Q�ı�B1V��S͛l/>8 64����+,d,1503068160,1,-1762852864,2003-10-03,m,with,come,1970-01-01,����\0JFIF\0\0H\0H\0\0��Photoshop 3.0\08BIM�\0\0\0\0\0x\0\0\0\0H\0H\0\0\0\0�(�����FG(�\0\0\0\0H\0H\0\0\0\0�(\0\0\0\0d\0\0\0\0\0\0\0'\0\0\0\0\0\0\0\0\0\0\0\0\0\0`\0�\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\08BIM�\0\0\0\0\0\0H\0\0\0\0\0H\0\0\0\08BIM\0\0\0\0\0\0\0\0x8BIM\0\0\0\0\0\0\0\08BIM�\0\0\0\0\0 \0\0\0\0\0\0\0\0\08BIM\
\0\0\0\0\0\0\08BIM'\0\0\0\0\0\
\0\0\0\0\0\0\0\08BIM�\0\0\0\0\0H\0/ff\0\0lff\0\0\0\0\0\0\0/ff\0\0���\0\0\0\0\0\0\02\0\0\0\0Z\0\0\0\0\0\0\0\0\05\0\0\0\0-\0\0\0\0\0\0\0\08BIM�\0\0\0\0\0p\0\0�����������������������\0\0\0\0�����������������������\0\0\0\0�����������������������\0\0\0\0�����������������������\0\08BIM\0\0\0\0\0\0\0\0\0\0@\0\0@\0\0\0\08BIM\0\0\0\0\0\0\0\0\08BIM\0\0\0\0\0s\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0w\0e\0s\0t\0_\02\00\04\08\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\08BIM\0\0\0\0\0\08BIM\0\0\0\0\0\0\0\08BIM!\0\0\0\0\0U\0\0\0\0\0\0\0A\0d\0o\0b\0e\0 \0P\0h\0o\0t\0o\0s\0h\0o\0p\0\0\0\0A\0d\0o\0b\0e\0 \0P\0h\0o\0t\0o\0s\0h\0o\0p\0 \06\0.\00\0\0\0\08BIM\0\0\0\0\0\0\0\0\0��\0Adobe\0d\0\0\0\0��\0�\0  \
\
Expand Down
6 changes: 4 additions & 2 deletions mysql-test/suite/tokudb.add_index/r/1522.result
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ count(*)
4
alter table t1 add clustering index b(b);
explain select count(*) from t1 where b > 0;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NA b b 5 NA NA NA
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NA index b b NA NA NA 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select count(0) AS `count(*)` from `test`.`t1` where (`test`.`t1`.`b` > 0)
select count(*) from t1 where b > 0;
count(*)
4
Expand Down
18 changes: 12 additions & 6 deletions mysql-test/suite/tokudb.add_index/r/add_index_1.result
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
*** Bug #22169 ***
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a int, str varchar(3), b int, c int, z int, y int, x int, r int, s int, t int, d char(4), primary key (a,b), key (z), key(x), key(t));
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL foo foo NULL NULL NULL; Using where; Using index
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL index foo NULL 10 NULL; 10 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`c` AS `c`,`test`.`t1`.`r` AS `r` from `test`.`t1` where (`test`.`t1`.`c` >= 0)
c r
0 20
2 18
Expand All @@ -15,8 +17,10 @@ c r
14 6
16 4
18 2
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL foo foo NULL NULL NULL; Using where; Using index
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL index foo NULL 10 NULL; 10 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`c` AS `c`,`test`.`t1`.`r` AS `r`,`test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b` from `test`.`t1` where (`test`.`t1`.`c` >= 0)
c r a b
0 20 10 0
2 18 9 1
Expand All @@ -28,8 +32,10 @@ c r a b
14 6 3 7
16 4 2 8
18 2 1 9
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL NULL NULL NULL NULL NULL; NULL
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL ALL NULL NULL NULL NULL; 10 100.00 NULL
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`a` AS `a`,`test`.`t1`.`str` AS `str`,`test`.`t1`.`b` AS `b`,`test`.`t1`.`c` AS `c`,`test`.`t1`.`z` AS `z`,`test`.`t1`.`y` AS `y`,`test`.`t1`.`x` AS `x`,`test`.`t1`.`r` AS `r`,`test`.`t1`.`s` AS `s`,`test`.`t1`.`t` AS `t`,`test`.`t1`.`d` AS `d` from `test`.`t1`
a str b c z y x r s t d
1 s 9 18 10 100 1000 2 3 4 AB
2 s 8 16 20 200 2000 4 6 8 AB
Expand Down
12 changes: 8 additions & 4 deletions mysql-test/suite/tokudb.add_index/r/add_index_11.result
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
*** Bug #22169 ***
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a int, str varchar(3), b int, c int, z int, y int, x int, r int, s int, t int, d char(4), key (z), key(x), key(t));
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL foo foo NULL NULL NULL; Using where; Using index
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL index foo NULL 10 NULL; 10 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`c` AS `c`,`test`.`t1`.`r` AS `r` from `test`.`t1` where (`test`.`t1`.`c` >= 0)
c r
0 20
2 18
Expand All @@ -15,8 +17,10 @@ c r
14 6
16 4
18 2
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL NULL NULL NULL NULL NULL; NULL
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL ALL NULL NULL NULL NULL; 10 100.00 NULL
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`a` AS `a`,`test`.`t1`.`str` AS `str`,`test`.`t1`.`b` AS `b`,`test`.`t1`.`c` AS `c`,`test`.`t1`.`z` AS `z`,`test`.`t1`.`y` AS `y`,`test`.`t1`.`x` AS `x`,`test`.`t1`.`r` AS `r`,`test`.`t1`.`s` AS `s`,`test`.`t1`.`t` AS `t`,`test`.`t1`.`d` AS `d` from `test`.`t1`
a str b c z y x r s t d
1 s 9 18 10 100 1000 2 3 4 AB
2 s 8 16 20 200 2000 4 6 8 AB
Expand Down
12 changes: 8 additions & 4 deletions mysql-test/suite/tokudb.add_index/r/add_index_12.result
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
*** Bug #22169 ***
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a int, b int, c int, z int, y int, x int, r int, s int, t int,key (z), key(x), key(t));
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL foo foo NULL NULL NULL; Using where; Using index
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL index foo NULL 10 NULL; 10 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`c` AS `c`,`test`.`t1`.`r` AS `r` from `test`.`t1` where (`test`.`t1`.`c` >= 0)
c r
0 20
2 18
Expand All @@ -15,8 +17,10 @@ c r
14 6
16 4
18 2
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL NULL NULL NULL NULL NULL; NULL
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL ALL NULL NULL NULL NULL; 10 100.00 NULL
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b`,`test`.`t1`.`c` AS `c`,`test`.`t1`.`z` AS `z`,`test`.`t1`.`y` AS `y`,`test`.`t1`.`x` AS `x`,`test`.`t1`.`r` AS `r`,`test`.`t1`.`s` AS `s`,`test`.`t1`.`t` AS `t` from `test`.`t1`
a b c z y x r s t
1 9 18 10 100 1000 2 3 4
2 8 16 20 200 2000 4 6 8
Expand Down
12 changes: 8 additions & 4 deletions mysql-test/suite/tokudb.add_index/r/add_index_13.result
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
*** Bug #22169 ***
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a int, str varchar(3), b int, c int, z int, y int, x int, r int, s int, t int, d char(4), key (z), key(x), key(t));
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL foo1 foo1 NULL NULL NULL; Using where; Using index
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL index foo1 NULL 10 NULL; 10 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`c` AS `c`,`test`.`t1`.`r` AS `r` from `test`.`t1` where (`test`.`t1`.`c` >= 0)
c r
0 20
2 18
Expand All @@ -15,8 +17,10 @@ c r
14 6
16 4
18 2
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL NULL NULL NULL NULL NULL; NULL
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL ALL NULL NULL NULL NULL; 10 100.00 NULL
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`a` AS `a`,`test`.`t1`.`str` AS `str`,`test`.`t1`.`b` AS `b`,`test`.`t1`.`c` AS `c`,`test`.`t1`.`z` AS `z`,`test`.`t1`.`y` AS `y`,`test`.`t1`.`x` AS `x`,`test`.`t1`.`r` AS `r`,`test`.`t1`.`s` AS `s`,`test`.`t1`.`t` AS `t`,`test`.`t1`.`d` AS `d` from `test`.`t1`
a str b c z y x r s t d
1 s 9 18 10 100 1000 2 3 4 AB
2 s 8 16 20 200 2000 4 6 8 AB
Expand Down
12 changes: 8 additions & 4 deletions mysql-test/suite/tokudb.add_index/r/add_index_14.result
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
*** Bug #22169 ***
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a int, b int, c int, z int, y int, x int, r int, s int, t int, key (z), key(x), key(t));
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL foo1 foo1 NULL NULL NULL; Using where; Using index
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL index foo1 NULL 10 NULL; 10 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`c` AS `c`,`test`.`t1`.`r` AS `r` from `test`.`t1` where (`test`.`t1`.`c` >= 0)
c r
0 20
2 18
Expand All @@ -15,8 +17,10 @@ c r
14 6
16 4
18 2
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL NULL NULL NULL NULL NULL; NULL
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL ALL NULL NULL NULL NULL; 10 100.00 NULL
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b`,`test`.`t1`.`c` AS `c`,`test`.`t1`.`z` AS `z`,`test`.`t1`.`y` AS `y`,`test`.`t1`.`x` AS `x`,`test`.`t1`.`r` AS `r`,`test`.`t1`.`s` AS `s`,`test`.`t1`.`t` AS `t` from `test`.`t1`
a b c z y x r s t
1 9 18 10 100 1000 2 3 4
2 8 16 20 200 2000 4 6 8
Expand Down
72 changes: 48 additions & 24 deletions mysql-test/suite/tokudb.add_index/r/add_index_15.result
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ SET DEFAULT_STORAGE_ENGINE='tokudb';
*** Bug #22169 ***
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a int, b int, c int, z int, y int, x int, r int, s int, t int, key (z), key(x), key(t));
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL foo foo NULL NULL NULL; Using where; Using index
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL index foo NULL 10 NULL; 10 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`c` AS `c`,`test`.`t1`.`r` AS `r` from `test`.`t1` where (`test`.`t1`.`c` >= 0)
c r
0 20
2 18
Expand All @@ -15,8 +17,10 @@ c r
14 6
16 4
18 2
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL NULL NULL NULL NULL NULL; NULL
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL ALL NULL NULL NULL NULL; 10 100.00 NULL
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b`,`test`.`t1`.`c` AS `c`,`test`.`t1`.`z` AS `z`,`test`.`t1`.`y` AS `y`,`test`.`t1`.`x` AS `x`,`test`.`t1`.`r` AS `r`,`test`.`t1`.`s` AS `s`,`test`.`t1`.`t` AS `t` from `test`.`t1`
a b c z y x r s t
1 9 18 10 100 1000 2 3 4
2 8 16 20 200 2000 4 6 8
Expand All @@ -28,8 +32,10 @@ a b c z y x r s t
8 2 4 80 800 8000 16 24 32
9 1 2 90 900 9000 18 27 36
10 0 0 100 1000 10000 20 30 40
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL NULL NULL NULL NULL NULL; Using where
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL ALL NULL NULL NULL NULL; 10 33.33 Using where
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`c` AS `c`,`test`.`t1`.`r` AS `r` from `test`.`t1` where (`test`.`t1`.`c` >= 0)
c r
18 2
16 4
Expand All @@ -41,8 +47,10 @@ c r
4 16
2 18
0 20
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL NULL NULL NULL NULL NULL; NULL
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL ALL NULL NULL NULL NULL; 10 100.00 NULL
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b`,`test`.`t1`.`c` AS `c`,`test`.`t1`.`z` AS `z`,`test`.`t1`.`y` AS `y`,`test`.`t1`.`x` AS `x`,`test`.`t1`.`r` AS `r`,`test`.`t1`.`s` AS `s`,`test`.`t1`.`t` AS `t` from `test`.`t1`
a b c z y x r s t
1 9 18 10 100 1000 2 3 4
2 8 16 20 200 2000 4 6 8
Expand All @@ -54,8 +62,10 @@ a b c z y x r s t
8 2 4 80 800 8000 16 24 32
9 1 2 90 900 9000 18 27 36
10 0 0 100 1000 10000 20 30 40
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL foo foo NULL NULL NULL; Using where; Using index
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL index foo NULL 10 NULL; 10 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`c` AS `c`,`test`.`t1`.`r` AS `r` from `test`.`t1` where (`test`.`t1`.`c` >= 0)
c r
0 20
2 18
Expand All @@ -67,8 +77,10 @@ c r
14 6
16 4
18 2
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL NULL NULL NULL NULL NULL; NULL
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL ALL NULL NULL NULL NULL; 10 100.00 NULL
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b`,`test`.`t1`.`c` AS `c`,`test`.`t1`.`z` AS `z`,`test`.`t1`.`y` AS `y`,`test`.`t1`.`x` AS `x`,`test`.`t1`.`r` AS `r`,`test`.`t1`.`s` AS `s`,`test`.`t1`.`t` AS `t` from `test`.`t1`
a b c z y x r s t
1 9 18 10 100 1000 2 3 4
2 8 16 20 200 2000 4 6 8
Expand All @@ -81,8 +93,10 @@ a b c z y x r s t
9 1 2 90 900 9000 18 27 36
10 0 0 100 1000 10000 20 30 40
ERROR 42000: Duplicate key name 'foo'
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL foo foo NULL NULL NULL; Using where; Using index
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL index foo NULL 10 NULL; 10 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`c` AS `c`,`test`.`t1`.`r` AS `r` from `test`.`t1` where (`test`.`t1`.`c` >= 0)
c r
0 20
2 18
Expand All @@ -94,8 +108,10 @@ c r
14 6
16 4
18 2
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL NULL NULL NULL NULL NULL; NULL
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL ALL NULL NULL NULL NULL; 10 100.00 NULL
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b`,`test`.`t1`.`c` AS `c`,`test`.`t1`.`z` AS `z`,`test`.`t1`.`y` AS `y`,`test`.`t1`.`x` AS `x`,`test`.`t1`.`r` AS `r`,`test`.`t1`.`s` AS `s`,`test`.`t1`.`t` AS `t` from `test`.`t1`
a b c z y x r s t
1 9 18 10 100 1000 2 3 4
2 8 16 20 200 2000 4 6 8
Expand All @@ -107,8 +123,10 @@ a b c z y x r s t
8 2 4 80 800 8000 16 24 32
9 1 2 90 900 9000 18 27 36
10 0 0 100 1000 10000 20 30 40
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL z z NULL NULL NULL; Using where; Using index
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL index z NULL 10 NULL; 10 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`z` AS `z`,`test`.`t1`.`a` AS `a` from `test`.`t1` where (`test`.`t1`.`z` >= 0)
z a
10 1
20 2
Expand All @@ -120,8 +138,10 @@ z a
80 8
90 9
100 10
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL NULL NULL NULL NULL NULL; NULL
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL ALL NULL NULL NULL NULL; 10 100.00 NULL
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b`,`test`.`t1`.`c` AS `c`,`test`.`t1`.`z` AS `z`,`test`.`t1`.`y` AS `y`,`test`.`t1`.`x` AS `x`,`test`.`t1`.`r` AS `r`,`test`.`t1`.`s` AS `s`,`test`.`t1`.`t` AS `t` from `test`.`t1`
a b c z y x r s t
1 9 18 10 100 1000 2 3 4
2 8 16 20 200 2000 4 6 8
Expand All @@ -133,8 +153,10 @@ a b c z y x r s t
8 2 4 80 800 8000 16 24 32
9 1 2 90 900 9000 18 27 36
10 0 0 100 1000 10000 20 30 40
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL foo foo NULL NULL NULL; Using where; Using index
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL index foo NULL 10 NULL; 10 100.00 Using where; Using index
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`c` AS `c`,`test`.`t1`.`r` AS `r` from `test`.`t1` where (`test`.`t1`.`c` >= 0)
c r
0 20
2 18
Expand All @@ -146,8 +168,10 @@ c r
14 6
16 4
18 2
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL NULL NULL NULL NULL NULL; NULL
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 NULL ALL NULL NULL NULL NULL; 10 100.00 NULL
Warnings:
Note 1003 /* select#1 */ select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b`,`test`.`t1`.`c` AS `c`,`test`.`t1`.`z` AS `z`,`test`.`t1`.`y` AS `y`,`test`.`t1`.`x` AS `x`,`test`.`t1`.`r` AS `r`,`test`.`t1`.`s` AS `s`,`test`.`t1`.`t` AS `t` from `test`.`t1`
a b c z y x r s t
1 9 18 10 100 1000 2 3 4
2 8 16 20 200 2000 4 6 8
Expand Down
Loading