This repository has been archived by the owner on Sep 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Prepared Statement Bug #16
Comments
@sy-records I can confirm this is a bug, prepare is always returning true even if it fails. |
I fixed it in this PR - #19 (https://github.com/swoole/ext-postgresql/pull/19/files#diff-f6c52869d82feeba7cef8b1ab64732daR652) |
Thanks for your contribution, please wait for review. @codercms |
I will provide a feedback after testing, Thanks |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, errors in a prepared statement doesn't get reported, example:
Here, non_existing_table doesnt exists, but $stmt returns true
and also :
$db->error is null
The text was updated successfully, but these errors were encountered: