Update read_int - #170
Conversation
The offset is missing in the calculation. For example, the MySQL error code returned is false.
ChuckBell
commented
Apr 18, 2021
Please specify what version of MySQL you used to test this change. |
BmdOnline
commented
Apr 19, 2021
Hi,
But it's not related to MySQL version. |
BmdOnline
commented
Apr 19, 2021
To be more specific, I'm trying to catch MySQL errors. For example, try this query when the table According to MySQL reference, it should be: Buffer, in this case, is : Error code is at and 5th position. In And when you're doing : Everything seems good, but I haven't checked other usages of References About decoding error packet, from MySQL and MariaDB : |
ChuckBell
commented
Apr 19, 2021
Yes, I am well aware of the error packet and I will review your suggestions to ensure it is compatible with Oracle MySQL. I do (can) not make changes to support anything else, hence my guarded questions. I will reply back later this week. Thanks! |
The offset is missing in the calculation.
For example, the MySQL error code returned is false.