|
|
@ -206,7 +206,8 @@ jbyteArray Java_org_rocksdb_WriteBatchTest_getContents( |
|
|
|
options.memtable_factory = factory; |
|
|
|
options.memtable_factory = factory; |
|
|
|
rocksdb::MemTable* mem = new rocksdb::MemTable( |
|
|
|
rocksdb::MemTable* mem = new rocksdb::MemTable( |
|
|
|
cmp, rocksdb::ImmutableCFOptions(options), |
|
|
|
cmp, rocksdb::ImmutableCFOptions(options), |
|
|
|
rocksdb::MemTableOptions(rocksdb::MutableCFOptions(options), options)); |
|
|
|
rocksdb::MemTableOptions(rocksdb::MutableCFOptions(options, |
|
|
|
|
|
|
|
rocksdb::ImmutableCFOptions(options)), options)); |
|
|
|
mem->Ref(); |
|
|
|
mem->Ref(); |
|
|
|
std::string state; |
|
|
|
std::string state; |
|
|
|
rocksdb::ColumnFamilyMemTablesDefault cf_mems_default(mem, &options); |
|
|
|
rocksdb::ColumnFamilyMemTablesDefault cf_mems_default(mem, &options); |
|
|
|