Conversation
The offset is missing in the calculation. For example, the MySQL error code returned is false.
|
Please specify what version of MySQL you used to test this change. |
|
Hi,
But it's not related to MySQL version. |
|
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 : |
|
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.