Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-3196

Errors can be returned in wrong order

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.3
    • Fix Version/s: 2.5.4
    • Component/s: readwritesplit
    • Labels:
      None

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              markus makela markus makela
              Reporter:
              markus makela markus makela
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: