Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
honey_compact: don't crash on empty tables
If the table is empty, calling ->next will crash. Checking ->empty on the cursor instead avoids going down that codepath Avoids a crasher in compacting when adding a Glass database with nothing but metadata in it: https://lists.xapian.org/pipermail/xapian-devel/2020-September/003384.html
- Loading branch information