DB::PutEntity() shouldn't be defined as =0 (#10364)

Summary:
DB::PutEntity() is defined as 0, but it is actually implemented in db/db_impl/db_impl_write.cc. It is incorrect, and might cause problems when users implement class DB themselves.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/10364

Test Plan: See existing tests pass

Reviewed By: riversand963

Differential Revision: D37874886

fbshipit-source-id: b81713ddb707720b52d57a15de56a59414c24f66
main
sdong 2 years ago committed by Facebook GitHub Bot
parent a3acf2ef87
commit 00e68e7a30
  1. 2
      include/rocksdb/db.h

@ -410,7 +410,7 @@ class DB {
// UNDER CONSTRUCTION -- DO NOT USE
virtual Status PutEntity(const WriteOptions& options,
ColumnFamilyHandle* column_family, const Slice& key,
const WideColumns& columns) = 0;
const WideColumns& columns);
// Remove the database entry (if any) for "key". Returns OK on
// success, and a non-OK status on error. It is not an error if "key"

Loading…
Cancel
Save