[MXS-3196] Errors can be returned in wrong order Created: 2020-09-17  Updated: 2020-09-23  Resolved: 2020-09-23

Status: Closed
Project: MariaDB MaxScale
Component/s: readwritesplit
Affects Version/s: 2.5.3
Fix Version/s: 2.5.4

Type: Bug Priority: Major
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MXS-3195 Prepared statement with ID -1 is not ... Closed

 Description   

When a client executes a COM_STMT_PREPARE that will fail and a COM_STMT_EXECUTE using the ID -1 (i.e. it doesn't wait for the COM_STMT_PREPARE to complete), the errors are returned in the wrong order. This happens because the query queue is processed before the result is written to the client socket. The order should simply be reversed and the problem will be solved.


Generated at Thu Feb 08 04:19:39 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.