Browse Source

migrate to shuishan

main
VirgilZhu 2 weeks ago
parent
commit
258a4f2dac
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      test/ttl_test.cc

+ 2
- 2
test/ttl_test.cc View File

@ -12,7 +12,7 @@ constexpr int data_size = 128 << 20;
Status OpenDB(std::string dbName, DB **db) {
std::string rm_command = "rm -rf " + dbName;
system(rm_command.c_str());
Options options;
options.create_if_missing = true;
return DB::Open(options, dbName, db);
@ -37,7 +37,7 @@ void InsertData(DB *db, uint64_t ttl/* second */) {
// std::string value = "aaaaaa_ts_5678aaaaaa";
// db->Put(writeOptions, key, value);
// }
}

Loading…
Cancel
Save