We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abdfd2d commit 4b5ac25Copy full SHA for 4b5ac25
src/dbwrapper.h
@@ -292,18 +292,6 @@ class CDBWrapper
292
// Get an estimate of LevelDB memory usage (in bytes).
293
size_t DynamicMemoryUsage() const;
294
295
- // not available for LevelDB; provide for compatibility with BDB
296
- bool Flush()
297
- {
298
- return true;
299
- }
300
-
301
- bool Sync()
302
303
- CDBBatch batch(*this);
304
- return WriteBatch(batch, true);
305
306
307
CDBIterator *NewIterator()
308
{
309
return new CDBIterator(*this, pdb->NewIterator(iteroptions));
0 commit comments