Commit 0620ccf3 authored by Monty's avatar Monty

Fixed failing test spider/bugfix.mdev_22246

This was caused by MDEV-23634, which disabled index optimization for
index != constant.
parent fce3e4ee
......@@ -47,7 +47,7 @@ SELECT * FROM tbl_a;
id node
2 DB-G1
1 DB-G0
SELECT * FROM tbl_a WHERE id != 0;
SELECT * FROM tbl_a WHERE id <0 || id >0;
id node
1 DB-G0
2 DB-G1
......
......@@ -64,7 +64,7 @@ TRUNCATE TABLE mysql.general_log;
--connection master_1
SELECT * FROM tbl_a;
SELECT * FROM tbl_a WHERE id != 0;
SELECT * FROM tbl_a WHERE id <0 || id >0;
--connection child2_1
eval $CHILD2_1_SELECT_TABLES;
......
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