DescriptionMake ProtoDatabase properly handle failed Init
When Init fails, further Save/Load calls should just fail (and not
crash). This makes the underlying LevelDB properly handle the Init failed case
and adds tests for that.
Adds LevelDB::InitWithOptions to make it easy to have the Init fail in tests.
Committed: https://crrev.com/1aad174b259bc655e7b9e973fadfc79bc5c00e51
Cr-Commit-Position: refs/heads/master@{#304944}
Patch Set 1 #Patch Set 2 : git cl format #Patch Set 3 : #
Messages
Total messages: 13 (5 generated)
|