Skip to content

Commit f9cecbc

Browse files
committed
Adding transactionMultiGet and transactionMultiGetForUpdate
* Fixed missing promisify for `transactionClear` * Using `__func__` for log messages * Namespacing C++ iterator workers * Testing `transactionClear` with non-repeatable read
1 parent 23d3405 commit f9cecbc

15 files changed

+638
-160
lines changed

src/rocksdb/napi/database.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ rocksdb::Status Database::Open(const rocksdb::Options& options,
5454
}
5555

5656
void Database::Close() {
57-
LOG_DEBUG("Database:Closing Database\n");
57+
LOG_DEBUG("Database:Calling %s\n", __func__);
5858
if (hasClosed_) return;
5959
hasClosed_ = true;
6060
delete db_;
6161
db_ = nullptr;
62-
LOG_DEBUG("Database:Closed Database\n");
62+
LOG_DEBUG("Database:Called %s\n", __func__);
6363
}
6464

6565
rocksdb::Status Database::Put(const rocksdb::WriteOptions& options,

0 commit comments

Comments
 (0)