Drop unused CDBWrapper methods

This commit is contained in:
Hennadii Stepanov 2020-07-08 14:26:14 +03:00
parent abdfd2d0e3
commit 4b5ac25881
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

View File

@ -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));