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

In case of ANSI_QUOTES sql mode, wrong value returned for SQL_IDENTIFIER_QUOTE_CHAR info

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 2.0.16, 3.0.3
    • 3.0.4, 2.0.17
    • General
    • None

    Description

      In case of ANSI_QUOTES, identifiers quoted with double quotes, and not with backticks.
      To repeat:
      OK_SIMPLE_STMT(Stmt1, "SET @@SESSION.sql_mode='ANSI_QUOTES'");
      CHECK_DBC_RC(Hdbc1, SQLGetInfo(Hdbc1, SQL_IDENTIFIER_QUOTE_CHAR, &Info, 0, NULL));
      IS_STR(Info, "\"", 2);

      cBasically it's been fixed in scope of work on other issue, but yet to be pushed.

      Attachments

        Activity

          People

            Lawrin Lawrin Novitsky
            Lawrin Lawrin Novitsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.