Skip to content
Permalink
Browse files

Fix intermittent test failure in rocksdb.rocksdb_cf_per_partition

was getting rows=2 instead of 1 on kvm-rpm-centos74-amd64
  • Loading branch information...
spetrunia committed Jul 14, 2019
1 parent fbbc235 commit 9ccbe8d581e89caaabb21996baeddf7f645ffd74
@@ -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;

0 comments on commit 9ccbe8d

Please sign in to comment.
You can’t perform that action at this time.