Fix c_test

This commit is contained in:
Igor Canadi 2014-08-07 14:29:38 -04:00
parent f8d6a2981f
commit 323d6e3542

View File

@ -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