--source suite/xengine/include/have_xengine.inc # Issue#212 MyX chooses full index scan even if range scan is more efficient # xengine_debug_optimizer_n_rows must not be set. create table t1 (id1 bigint, id2 bigint, c1 bigint, c2 bigint, c3 bigint, c4 bigint, c5 bigint, c6 bigint, c7 bigint, primary key (id1, id2), index i(c1, c2)); --disable_query_log let $i=0; while ($i<10000) { inc $i; eval insert t1(id1, id2, c1, c2, c3, c4, c5, c6, c7) values($i, 0, $i, 0, 0, 0, 0, 0, 0); } --enable_query_log analyze table t1; select count(*) from t1; --replace_column 10 # explain select c1 from t1 where c1 > 5 limit 10; drop table t1; --source suite/xengine/include/check_xengine_log_error.inc