db.mysql
function real_query
returns proper MySQL error codes, while any stmt
method doesn't
#18059
Labels
Bug
This tag is applied to issues which reports bugs.
Describe the bug
When using
real_query
:When using
stmt.prepare
:Expected Behavior
stmt
methods should return proper MySQL error codes to allow for error handling.Current Behavior
No error code is returned.
Reproduction Steps
Prepare a statement on a non-existing table.
Possible Solution
No response
Additional Information/Context
Can only test on
stmt.prepare
andstmt.execute
becausestmt.bind_result_buffer
stll does not work and results cannot be fetched. Please check #17957V version
Current V version: V 0.3.3 c4b34c9, timestamp: 2023-04-26 08:59:20 +0300
Environment details (OS name and version, etc.)
The text was updated successfully, but these errors were encountered: