-
Notifications
You must be signed in to change notification settings - Fork 74
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
missing error when a prepared statement with placeholders is executed with an empty bind #259
Comments
Hi! This problem should be already fixed in DBD::MariaDB 1.00 which is on cpan: |
Hi pali, how does that apply to DBD::mysql? |
I guess this cannot be fixed in DBD::mysql due to legacy issues and existing code which depends on this behavior which you descried in the title of the issue (see #117). Therefore if you does not like current behavior of DBD::mysql like you described, you can just switch to the DBD::MariaDB fork. |
@pali well this is not a complete behavior change and rather a stability issue to report misuse of placeholders. It can still be silent and can be made noisy with a flag, it can even be something to be enabled while building the module, so unless a switch is passed to Makefile.PL to decide between silent / emit warning (even die). |
Burak - thank you. We are working on a fix for this for the next release of DBD::mysql |
See: https://rt.cpan.org/Public/Bug/Display.html?id=125517
The text was updated successfully, but these errors were encountered: