-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made del return a bool, and added clear. (#33)
* Made del return a bool, and added clear. What I've done here feels very awkward. Maybe I'm missing something, but it looks to me like RocksDB doesn't support these operations in any natural way. These changes were made in order to get our implementation of KvStoreRef for RocksDB working again after these changes to the KvStoreRef interface: status-im/nim-eth@8f0ae55 I don't really recommend merging this; I think I'd prefer to just stop trying to use this common KvStoreRef interface. Still, if we do want to keep the common interface, I think this commit will work well enough. * Updated the tests to expect del to return a bool too. * Leave the new `clear` operation unimplemented.
- Loading branch information
Showing
2 changed files
with
25 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters