Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use pure if-then check instead of assert in EraseColumnFamilyInfo
Summary: Use pure if-then check instead of assert in EraseColumnFamilyInfo when the specified column family does not found in the cf_info_map_. So the second deletion will be no op instead of crash. Test Plan: existing test. Reviewers: sdong, anthony, kradhakrishnan, IslamAbdelRahman Reviewed By: IslamAbdelRahman Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D55023
- Loading branch information