0.5.0 File persistence, man, BTREE and auto-testing#1
Merged
Conversation
dc6e1c9 to
aa26977
Compare
quirinpa
added a commit
that referenced
this pull request
Feb 23, 2026
- Bug #1 FIX: Fixed QM_MIRROR + QM_MULTIVALUE persistence by always setting mdbs[hd]=1 regardless of database name. This ensures maps are properly registered for save operations. - Bug #3 FIX: Fixed QM_RANGE iteration to return all duplicates by reordering conditions in qmap_iter(). Now checks QM_MULTIVALUE first to use QMAP_BSEARCH_FIRST instead of QMAP_BSEARCH_ANY. - Added regression test for Bug #3 - Updated BUGS.md to reflect fixes and known limitations Bug #2 (qmap_assoc + QM_MULTIVALUE) remains as known limitation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a test workflow, man page generation, persistent storage, a CLI tool (migrated from libqdb - to be deprecated), and adds sorted iteration.
unsigned→uint32_tacross API.qmap_save()writes all tracked databases to disk.QM_SORTED):