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

warning: The query can't be routed to all backend servers because it includes SELECT and SQL variable modifications which is not supported.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.4.4
    • 2.4.8
    • qc_sqlite
    • None
    • MXS-SPRINT-101

    Description

      SET @my_id = (SELECT LAST_INSERT_ID())

      Generates the warning in the subject.

      > 2020-02-24 15:04:00 warning: (162) The query can't be routed to all backend servers because it includes SELECT and SQL variable modifications which is not supported. Set use_sql_variables_in=master or split the query to two, where SQL variable modifications are done in the first and the SELECT in the second one.

      Looks like the SELECT queryi is not properly classified.

      Attachments

        Activity

          People

            johan.wikman Johan Wikman
            claudio.nanni Claudio Nanni
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.