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

Fix RETURNING d_next_o_id in NEWORD #688

Merged
merged 1 commit into from
Apr 4, 2024
Merged

Conversation

sm-shaw
Copy link
Contributor

@sm-shaw sm-shaw commented Apr 4, 2024

Fix for consistency check 2 fails in PostgreSQL because all values are out by 1 e.g.

Vuser 1:resArray(0,d_id) = 1
Vuser 1:resArray(0,d_w_id) = 6
Vuser 1:resArray(0,order_max) = 22816
Vuser 1:resArray(0,order_next) = 22815
Vuser 1:resArray(1,d_id) = 1
Vuser 1:resArray(1,d_w_id) = 7
Vuser 1:resArray(1,order_max) = 22892
Vuser 1:resArray(1,order_next) = 22891
Vuser 1:resArray(10,d_id) = 6
Vuser 1:resArray(10,d_w_id) = 6
Vuser 1:resArray(10,order_max) = 22637
Vuser 1:resArray(10,order_next) = 22636
...

@sm-shaw sm-shaw self-assigned this Apr 4, 2024
@sm-shaw sm-shaw requested a review from a team as a code owner April 4, 2024 11:20
@sm-shaw sm-shaw added the bug Something isn't working label Apr 4, 2024
@sm-shaw sm-shaw linked an issue Apr 4, 2024 that may be closed by this pull request
@abondvt89
Copy link
Contributor

Merging after reviews and approval of the three members of the code maintenance team.

@abondvt89 abondvt89 merged commit dfe6153 into TPC-Council:master Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PostgreSQL TPROC-C consistency check 2 failed
3 participants