Commit 05080da 1 parent 726c808 commit 05080da Copy full SHA for 05080da
File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ TESTS = \
82
82
redis_test \
83
83
reduce_levels_test \
84
84
plain_table_db_test \
85
- prefix_test \
85
+ prefix_test \
86
86
simple_table_db_test \
87
87
skiplist_test \
88
88
stringappend_test \
@@ -98,6 +98,7 @@ TESTS = \
98
98
99
99
TOOLS = \
100
100
sst_dump \
101
+ db_sanity_test \
101
102
db_stress \
102
103
ldb \
103
104
db_repl_stress \
Original file line number Diff line number Diff line change @@ -134,10 +134,10 @@ class SanityTestPlainTableFactory : public SanityTest {
134
134
explicit SanityTestPlainTableFactory (const std::string& path)
135
135
: SanityTest(path) {
136
136
options_.table_factory .reset (NewPlainTableFactory ());
137
- options_.prefix_extractor = NewFixedPrefixTransform (2 );
137
+ options_.prefix_extractor . reset ( NewFixedPrefixTransform (2 ) );
138
138
options_.allow_mmap_reads = true ;
139
139
}
140
- ~SanityTestPlainTableFactory () { delete options_. prefix_extractor ; }
140
+ ~SanityTestPlainTableFactory () {}
141
141
virtual Options GetOptions () const { return options_; }
142
142
virtual std::string Name () const { return " PlainTable" ; }
143
143
You can’t perform that action at this time.
0 commit comments