Commit 12ac3ee1 authored by Sergei Petrunia's avatar Sergei Petrunia

Update test results: make innodb_ext_key test stable

parent bebabd68
...@@ -1059,10 +1059,6 @@ concat('1234567890-', 1000+ A.a + 10*B.a + 100*C.a), ...@@ -1059,10 +1059,6 @@ concat('1234567890-', 1000+ A.a + 10*B.a + 100*C.a),
repeat('filler-data-', 4) repeat('filler-data-', 4)
from from
t0 A, t0 B, t0 C; t0 A, t0 B, t0 C;
# The following must use type=ALL (and NOT type=ref, rows=1)
explain select * from t1 where col1='1234567890-a';
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ALL idx1 NULL NULL NULL # Using where
drop table t0,t1; drop table t0,t1;
# #
# MDEV-10360: Extended keys: index properties depend on index order # MDEV-10360: Extended keys: index properties depend on index order
......
...@@ -715,9 +715,13 @@ select ...@@ -715,9 +715,13 @@ select
from from
t0 A, t0 B, t0 C; t0 A, t0 B, t0 C;
--echo # The following must use type=ALL (and NOT type=ref, rows=1) let $q=explain select * from t1 where col1='1234567890-a';
--replace_column 9 # let $rows=query_get_value($q, rows, 1);
explain select * from t1 where col1='1234567890-a'; if ($rows < 2)
{
--echo The EXPLAIN should not produce a query plan with type=ref, rows=1
--die Fix for MDEV-10325 didnt work;
}
drop table t0,t1; drop table t0,t1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment