Browse Source

添加合并逻辑-朱陈媛

main
朱陈媛 3 weeks ago
parent
commit
522f0e08a0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      leveldb_base/include/leveldb/write_batch.h

+ 1
- 1
leveldb_base/include/leveldb/write_batch.h View File

@ -51,7 +51,7 @@ class LEVELDB_EXPORT WriteBatch {
// Store the mapping "key->value" in the database. // Store the mapping "key->value" in the database.
void Put(const Slice& key, const Slice& value); void Put(const Slice& key, const Slice& value);
// ttl-
// ttl-
void Put(const Slice& key, const Slice& value, uint64_t ttl); void Put(const Slice& key, const Slice& value, uint64_t ttl);
// If the database contains a mapping for "key", erase it. Else do nothing. // If the database contains a mapping for "key", erase it. Else do nothing.

Loading…
Cancel
Save