Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
master
-
None
-
Untriaged
-
MacOSX 64-bit
-
Unknown
Description
fdb_compact doesn't seem to handle the case where there is a manually-compacted database with a numeric suffix (which can happen if the database is not properly closed after compaction.)
Steps to reproduce, as summarized by Sundar in email:
- Compact "fileA" in place with NULL as new filename (creates numeric suffix "fileA.1")
- Exit the application without calling fdb_close()
- Directly call fdb_destroy("fileA")
Result:
- "fileA.1" is still present in the system.
Expected Result:
- "fileA.1" is deleted