-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
ResultStatement::fetch() returns null instead of false with mysqli #2497
Comments
If this is confirmed as a bug I can make a quick PR. |
This seems indeed to be a bug. Confirmed. |
Ocramius
added a commit
that referenced
this issue
Sep 8, 2016
Ocramius
added a commit
that referenced
this issue
Sep 8, 2016
Fixed via #2500 |
1 task
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
ResultStatement::fetch() returns null with mysqli, false with sqlsrv. Documented is that it always returns false http://www.doctrine-project.org/api/dbal/2.0/class-Doctrine.DBAL.Driver.ResultStatement.html
http://www.doctrine-project.org/api/dbal/2.3/source-class-Doctrine.DBAL.Driver.Mysqli.MysqliStatement.html#243
I guess the code here should return false instead of null?
The text was updated successfully, but these errors were encountered: