-
Notifications
You must be signed in to change notification settings - Fork 4
fix(kv): reject duplicate primary keys in multi_index::emplace #113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+1,331
−10
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
a7837aa
fix(kv): reject duplicate primary keys in multi_index::emplace
heifner 4c4b81a
fix(kv): guard multi_index mutation on the receiving account
heifner 072ea2d
fix(kv): accept every primary-key call shape with one non-template pa…
heifner cb75442
fix(kv): keep the primary-key argument domain as wide as its siblings
heifner 9b51d2a
fix(kv): match the former uint64_t parameter's conversion semantics e…
heifner 78bd7d6
revert(kv): drop the templated primary bounds and their proxy
heifner 1668490
feat(kv): accept a name at multi_index's primary bounds
heifner 6957c30
test(kv): give the receiving-account and success paths real teeth
heifner 4092b36
test(kv): assert the receiver's row by value, not by key count
heifner 31961f3
docs(kv): stop calling the shim a drop-in replacement in the header
heifner 7f1f900
test(kv): pin that the dispatcher records the receiver, not the code
heifner 4e8248d
test(kv): make the ordering assertion real, and cover allowed modify/…
heifner c52cc9d
docs(kv): describe the class, not the changes made to it
heifner 8576030
test(kv): require the receiver setter to dominate both dispatch branches
heifner 746eda0
test(kv): read apply()'s body from the brace, not the following line
heifner 42ab46e
test(kv): count setter occurrences, not matching lines
heifner a09ca51
test(kv): test the dispatch checker, not just the dispatch
heifner 569539e
test(kv): splice before lexing, and make the signature-line fixture bite
heifner 3c394ce
test(kv): let clang tokenize the dispatch, and compile every countere…
heifner fb74254
test(kv): make the counterexamples freestanding
heifner 7e5a89c
test(kv): preprocess and compile through the CDT driver
heifner a25add1
test(kv): filter numeric line markers only, and correct the upstream …
heifner 2b8dcd3
test(kv): match the whole line-marker grammar, not a prefix
heifner ba6b89d
test(kv): model the whole marker filename, and stop reading a failed …
heifner e5dba38
test(kv): pin the marker filter from above as well as below
heifner 6dbf32d
test(kv): count calls in the object, and pin the marker flags
heifner 6920700
test(kv): refuse indirect calls, and give the analyser its own infra …
heifner c63edee
test(kv): match call_indirect as an opcode, not as text on the line
heifner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.