diff options
author | Sergei Petrunia <psergey@askmonty.org> | 2016-06-22 23:20:41 +0300 |
---|---|---|
committer | Sergei Petrunia <psergey@askmonty.org> | 2016-06-22 23:20:41 +0300 |
commit | 3e03b89b0a683dd3b14d6ea24d2ca93accdfd61f (patch) | |
tree | 7a7dff827f7d79d5ed3406726bceec5910a83629 /mysql-test/t/range.test | |
parent | 63120090f994cc78876944e9f7a76f53337fa46e (diff) | |
download | mariadb-git-3e03b89b0a683dd3b14d6ea24d2ca93accdfd61f.tar.gz |
MDEV-10185: Assertion `tree1->keys[key_no] && tree2->keys[key_no]' failed in
Make tree_or set correct SEL_TREE::keys_map for the result.
Diffstat (limited to 'mysql-test/t/range.test')
-rw-r--r-- | mysql-test/t/range.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/range.test b/mysql-test/t/range.test index ba4928faffb..7f0e063124e 100644 --- a/mysql-test/t/range.test +++ b/mysql-test/t/range.test @@ -1817,5 +1817,14 @@ EXPLAIN SELECT * FROM t1 WHERE a<=>'😎'; DROP TABLE t1; --echo # +--echo # MDEV-10185: Assertion `tree1->keys[key_no] && tree2->keys[key_no]' failed in +--echo # sel_trees_can_be_ored(RANGE_OPT_PARAM*, SEL_TREE*, SEL_TREE*, key_map*) +--echo # +CREATE TABLE t1 (pk INT PRIMARY KEY); +INSERT INTO t1 VALUES (1),(2); +SELECT * FROM t1 WHERE pk != 1000 OR pk IN ( 1000, 0, 1, 100, 2 ) OR pk >= 5; +DROP TABLE t1; + +--echo # --echo # End of 10.1 tests --echo # |