--source include/have_falcon.inc
SET storage_engine = Falcon;
#
# Bug #22841: Falcon: searches for negative numbers fail if index exists
#
--echo *** Bug #22841 ***
--disable_warnings
DROP TABLE IF EXISTS t1;
--enable_warnings

CREATE TABLE t1 (a int, key (a));

INSERT INTO t1 VALUES (-1);
SELECT * FROM t1 WHERE a < 0;

# Final cleanup.
DROP TABLE t1;
