|
|
@ -93,6 +93,7 @@ using rocksdb::BackupInfo; |
|
|
|
using rocksdb::BackupID; |
|
|
|
using rocksdb::BackupID; |
|
|
|
using rocksdb::RestoreOptions; |
|
|
|
using rocksdb::RestoreOptions; |
|
|
|
using rocksdb::CompactRangeOptions; |
|
|
|
using rocksdb::CompactRangeOptions; |
|
|
|
|
|
|
|
using rocksdb::BottommostLevelCompaction; |
|
|
|
using rocksdb::RateLimiter; |
|
|
|
using rocksdb::RateLimiter; |
|
|
|
using rocksdb::NewGenericRateLimiter; |
|
|
|
using rocksdb::NewGenericRateLimiter; |
|
|
|
using rocksdb::PinnableSlice; |
|
|
|
using rocksdb::PinnableSlice; |
|
|
@ -3109,6 +3110,11 @@ void rocksdb_compactoptions_destroy(rocksdb_compactoptions_t* opt) { |
|
|
|
delete opt; |
|
|
|
delete opt; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void rocksdb_compactoptions_set_bottommost_level_compaction( |
|
|
|
|
|
|
|
rocksdb_compactoptions_t* opt, unsigned char v) { |
|
|
|
|
|
|
|
opt->rep.bottommost_level_compaction = static_cast<BottommostLevelCompaction>(v); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void rocksdb_compactoptions_set_exclusive_manual_compaction( |
|
|
|
void rocksdb_compactoptions_set_exclusive_manual_compaction( |
|
|
|
rocksdb_compactoptions_t* opt, unsigned char v) { |
|
|
|
rocksdb_compactoptions_t* opt, unsigned char v) { |
|
|
|
opt->rep.exclusive_manual_compaction = v; |
|
|
|
opt->rep.exclusive_manual_compaction = v; |
|
|
|