Skip to content

Commit

Permalink
Adding more bloomfilter tests (percona#565)
Browse files Browse the repository at this point in the history
Upstream commit ID : fb-mysql-5.6.35/639b92350f25de340c3d859db267e151b49f4512

Summary:
This diff adds more test coverages for bloomfilter
tests with reverse order column family
Closes facebook/mysql-5.6#573

Reviewed By: alxyang

Differential Revision: D4725588

Pulled By: yoshinorim

fbshipit-source-id: 31da89c
  • Loading branch information
yoshinorim authored and George O. Lorch III committed Jul 19, 2017
1 parent b711a66 commit cbad1a0
Show file tree
Hide file tree
Showing 4 changed files with 1,615 additions and 15 deletions.
8 changes: 8 additions & 0 deletions mysql-test/suite/rocksdb/include/bloomfilter.inc
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,20 @@ DELIMITER ;//
--source $ddl
--source suite/rocksdb/include/bloomfilter_load_select.inc

--exec sed s/##CF##/" COMMENT 'rev:cf_short_prefix'"/g $tmpl_ddl > $ddl
--source $ddl
--source suite/rocksdb/include/bloomfilter_load_select.inc

#BF is most of the time invoked and useful
--exec sed s/##CF##/" COMMENT 'cf_long_prefix'"/g $tmpl_ddl > $ddl
--source $ddl
--source suite/rocksdb/include/bloomfilter_load_select.inc

--exec sed s/##CF##/" COMMENT 'rev:cf_long_prefix'"/g $tmpl_ddl > $ddl
--source $ddl
--source suite/rocksdb/include/bloomfilter_load_select.inc


# BUG: Prev() with prefix lookup should not use prefix bloom filter
create table r1 (id1 bigint, id2 bigint, id3 bigint, v1 int, v2 text, primary key (id1, id2, id3)) engine=rocksdb DEFAULT CHARSET=latin1 collate latin1_bin;
--disable_query_log
Expand Down
Loading

0 comments on commit cbad1a0

Please sign in to comment.