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

tdsl_command_ctx: do not blindly set the rows_affected value #44

Merged
merged 1 commit into from
Jan 28, 2024

Conversation

mustafakemalgilor
Copy link
Member

The code should only respect the rows_affected value if the status value indicates that the DONE token contains a valid rows_affected value, which was not the case with the current DONE callback. The code now properly utilizes the count_valid() function.

Added three new integration tests to check execute_rpc function reports the correct number of affected rows.

workspace.code-workspace: Updated clangd path.

Fixes #43

The code should only respect the rows_affected value if the status value
indicates that the DONE token contains a valid rows_affected value, which
was not the case with the current DONE callback. The code now properly utilizes
the count_valid() function.

Added three new integration tests to check execute_rpc function reports
the correct number of affected rows.

workspace.code-workspace: Updated clangd path.

Fixes #43

Signed-off-by: Mustafa Kemal GILOR <mustafagilor@gmail.com>
@mustafakemalgilor mustafakemalgilor added the bug Something isn't working label Jan 28, 2024
@mustafakemalgilor mustafakemalgilor self-assigned this Jan 28, 2024
@mustafakemalgilor mustafakemalgilor added this to the 0.5.0 milestone Jan 28, 2024
@mustafakemalgilor mustafakemalgilor merged commit 0836352 into main Jan 28, 2024
11 checks passed
@mustafakemalgilor mustafakemalgilor deleted the bugfix/check-done-status branch January 28, 2024 13:33
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.

Do not blindly pick "affected_rows" from done tokens
1 participant