Fix c_test
This commit is contained in:
parent
f8d6a2981f
commit
323d6e3542
@ -267,10 +267,10 @@ static const char* CompactionFilterFactoryV2Name(void* arg) {
|
|||||||
return "TestCompactionFilterFactoryV2";
|
return "TestCompactionFilterFactoryV2";
|
||||||
}
|
}
|
||||||
static rocksdb_compactionfilterv2_t* CompactionFilterFactoryV2Create(
|
static rocksdb_compactionfilterv2_t* CompactionFilterFactoryV2Create(
|
||||||
const rocksdb_compactionfiltercontext_t* context) {
|
void* state, const rocksdb_compactionfiltercontext_t* context) {
|
||||||
return rocksdb_compactionfilterv2_create(
|
return rocksdb_compactionfilterv2_create(state, CompactionFilterV2Destroy,
|
||||||
NULL, CompactionFilterV2Destroy, CompactionFilterV2Filter,
|
CompactionFilterV2Filter,
|
||||||
CompactionFilterV2Name);
|
CompactionFilterV2Name);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Custom merge operator
|
// Custom merge operator
|
||||||
|
Loading…
x
Reference in New Issue
Block a user