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

Get trx status from ok packet through SESSION_TRACK_TRANSACTION_STATE mechanism

    XMLWordPrintable

    Details

      Description

      there are two problems with using qc to get current session transaction status:
      1. if use rwsplist service, a query will be parsed twice, one in MysqlClient , another in rwsplit routing session;
      2. it cannot get current trx status correctly if user encapsulated 'start transaction' in prepare statement or stored function;

      so it is better to let db tell proxy what the real trx status is, we can use #WL6631 title

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              dapeng dapeng huang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: