[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: |
|
||||||||
| 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. |