Uploaded image for project: 'MariaDB Connector/ODBC'
  1. MariaDB Connector/ODBC
  2. ODBC-362

xpand compatibility: random error on connection

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 3.1.15
    • Fix Version/s: 3.1.16
    • Component/s: General
    • Labels:
      None

      Description

      When connecting to xpand, even if xpand doesn't send CLIENT_SESSION_TRACK capability flag, ODBC execute command "SET session_track_schema= ON".
      This result in error, since xpand doesn't have this 'session_track_schema' variable.

      Problem is that normally ODBC must not execute this : https://github.com/mariadb-corporation/mariadb-connector-odbc/blob/master/ma_connection.c#L967 odbc test server capability before issuing different command !?

      see wireshark attached file that confirm this.

      At the same time, a minor problem is that ODBC connector send capability to server that server has not advertise. It would be better not doing that.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Lawrin Lawrin Novitsky
              Reporter:
              diego dupin Diego Dupin
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.