Commit 9ccbe8d5 authored by Sergei Petrunia's avatar Sergei Petrunia

Fix intermittent test failure in rocksdb.rocksdb_cf_per_partition

was getting rows=2 instead of 1 on kvm-rpm-centos74-amd64
parent fbbc2354
......@@ -353,7 +353,7 @@ Table Op Msg_type Msg_text
test.t2 analyze status OK
EXPLAIN PARTITIONS SELECT * FROM t2 WHERE col3 = 0x4 AND col2 = 0x34567;
id select_type table partitions type possible_keys key key_len ref rows Extra
1 SIMPLE t2 custom_p2 ref col3 col3 258 const 1 Using where
1 SIMPLE t2 custom_p2 ref col3 col3 258 const # Using where
DROP TABLE t2;
CREATE TABLE `t2` (
`col1` bigint(20) NOT NULL,
......
......@@ -421,6 +421,7 @@ SELECT DISTINCT(cf_name) FROM information_schema.rocksdb_cfstats WHERE cf_name='
# Verify that correct partition and key are used when searching.
ANALYZE TABLE t2;
--replace_column 10 #
EXPLAIN PARTITIONS SELECT * FROM t2 WHERE col3 = 0x4 AND col2 = 0x34567;
DROP TABLE t2;
......
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