aboutsummaryrefslogtreecommitdiff
path: root/src/leveldb/db/memtable.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-12-05 10:55:29 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-12-05 10:58:36 +0100
commit613bda418f8358625eb860f4d7e6f0d2533cabe9 (patch)
treed5412972f21d8a5069eb838ab544ea97123f2fe0 /src/leveldb/db/memtable.h
parentd04aebaec7bbf4095bd4f6a715eb6ee834857115 (diff)
parent605d701471c3ee84682b0c149e41142d7cea95e7 (diff)
Merge #8613: LevelDB 1.19
634ad51 Squashed 'src/leveldb/' changes from 20ca81f..a31c8aa (Pieter Wuille)
Diffstat (limited to 'src/leveldb/db/memtable.h')
-rw-r--r--src/leveldb/db/memtable.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/leveldb/db/memtable.h b/src/leveldb/db/memtable.h
index 92e90bb099..9f41567cde 100644
--- a/src/leveldb/db/memtable.h
+++ b/src/leveldb/db/memtable.h
@@ -36,10 +36,7 @@ class MemTable {
}
// Returns an estimate of the number of bytes of data in use by this
- // data structure.
- //
- // REQUIRES: external synchronization to prevent simultaneous
- // operations on the same MemTable.
+ // data structure. It is safe to call when MemTable is being modified.
size_t ApproximateMemoryUsage();
// Return an iterator that yields the contents of the memtable.