Skip to content
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

Add method transaction::has_key() #241

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

sciascid
Copy link
Contributor

Add a method to check if transaction has appended a given key in its sr_key_set.

Add a method to check if transaction has appended a given key
in its sr_key_set.
@temeo temeo self-assigned this Jan 17, 2025
{
wsrep::sr_key_set key_set;

{ // contains same key
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be better to have separate test cases named according to what they test than having multiple blocks inside single test case. If the test fails, it it much easier to see immediately what was the testcase which failed.

If there is some common setup step for all the tests, it can be put into test fixture.

@temeo temeo removed their assignment Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants