Merged
Conversation
Add 34 proptest-based tests covering both TxSync (V1) and TxUnsync (V2) transaction APIs to verify that arbitrary inputs do not cause panics. Tests cover: - Key/value put/get with arbitrary data - Delete operations on nonexistent keys - Get operations on empty databases - Cursor positioning (set, set_range, set_key) - Database name creation with valid names - DUP_SORT operations (put, get_both, get_both_range) - Iterator operations (iter_from, iter_dup_of, iter_dup_from) - Cursor put operations - Edge cases (empty keys, empty values, large keys) Also includes a portability fix: *const i8 -> *const c_char in ops.rs. Co-Authored-By: Claude Opus 4.5 <[email protected]>
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.
Add the
TxUnsyncAPI for single-threaded ptr access