--source suite/xengine/include/have_xengine.inc drop table if exists orders1_test; CREATE TABLE `orders1_test` ( `o_id` int NOT NULL, `o_d_id` tinyint NOT NULL, `o_w_id` smallint NOT NULL, `o_c_id` int DEFAULT NULL, PRIMARY KEY (`o_w_id`,`o_d_id`,`o_id`), KEY `idx_orders1` (`o_w_id`,`o_d_id`,`o_c_id`,`o_id`) ) ENGINE=XEngine DEFAULT CHARSET=utf8mb4; insert into orders1_test values(100,1,3,1),(200,1,3,2),(300,1,3,3),(2000,1,3,7),(2200,1,3,4); --replace_column 10 xxx 11 xxx explain select o_id from orders1_test force index(idx_orders1) WHERE o_id>2100 and o_w_id=3 limit 1; select o_id from orders1_test force index(idx_orders1) WHERE o_id>2100 and o_w_id=3 limit 1; DROP TABLE orders1_test;