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: handle case of prepare with mismatched parameter number #2109

Merged
merged 15 commits into from
Jul 5, 2023

Conversation

sidorares
Copy link
Owner

take 2 on #2056

The issue is caused by prepare header returning number of placeholders in the query ( 1 for select * from user order by ? ) but the actual number of parameters following the header is 0 - see #2052 (comment). Changing the scope of this PR to handle "ignored" parameters / columns

@github-actions
Copy link
Contributor

github-actions bot commented Jul 5, 2023

Coverage report

The coverage rate is 90.02305143351103%

The branch rate is 84.79327259985985%

100% of new lines are covered.

@sidorares sidorares merged commit b658be0 into master Jul 5, 2023
37 checks passed
@sidorares sidorares deleted the prepare_with_mismatched_params branch July 5, 2023 07:00
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.

None yet

1 participant