diff options
Diffstat (limited to 'storage/tokudb/mysql-test/tokudb_add_index/r/add_index_3.result')
-rw-r--r-- | storage/tokudb/mysql-test/tokudb_add_index/r/add_index_3.result | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/storage/tokudb/mysql-test/tokudb_add_index/r/add_index_3.result b/storage/tokudb/mysql-test/tokudb_add_index/r/add_index_3.result new file mode 100644 index 00000000000..f05bfb6564a --- /dev/null +++ b/storage/tokudb/mysql-test/tokudb_add_index/r/add_index_3.result @@ -0,0 +1,43 @@ +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 foo1 foo1 NULL NULL NULL; Using where; Using index +c r +0 20 +2 18 +4 16 +6 14 +8 12 +10 10 +12 8 +14 6 +16 4 +18 2 +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 +c r a b +0 20 10 0 +2 18 9 1 +4 16 8 2 +6 14 7 3 +8 12 6 4 +10 10 5 5 +12 8 4 6 +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 +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 +3 s 7 14 30 300 3000 6 9 12 AB +4 s 6 12 40 400 4000 8 12 16 AB +5 s 5 10 50 500 5000 10 15 20 AB +6 s 4 8 60 600 6000 12 18 24 AB +7 s 3 6 70 700 7000 14 21 28 AB +8 s 2 4 80 800 8000 16 24 32 AB +9 s 1 2 90 900 9000 18 27 36 AB +10 s 0 0 100 1000 10000 20 30 40 AB |