aboutsummaryrefslogtreecommitdiff
path: root/src/dbwrapper.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-07-08 14:26:14 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-07-08 14:26:14 +0300
commit4b5ac258812a1e8848862689ff333587cf274892 (patch)
treedfbe56788de179d31259834f64c33eca5b151d89 /src/dbwrapper.h
parentabdfd2d0e3ebec7dbead89317ee9192189a35809 (diff)
Drop unused CDBWrapper methods
Diffstat (limited to 'src/dbwrapper.h')
-rw-r--r--src/dbwrapper.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/dbwrapper.h b/src/dbwrapper.h
index 116d7d8679..215b033708 100644
--- a/src/dbwrapper.h
+++ b/src/dbwrapper.h
@@ -292,18 +292,6 @@ public:
// Get an estimate of LevelDB memory usage (in bytes).
size_t DynamicMemoryUsage() const;
- // not available for LevelDB; provide for compatibility with BDB
- bool Flush()
- {
- return true;
- }
-
- bool Sync()
- {
- CDBBatch batch(*this);
- return WriteBatch(batch, true);
- }
-
CDBIterator *NewIterator()
{
return new CDBIterator(*this, pdb->NewIterator(iteroptions));