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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.16, 3.0.3
    • Fix Version/s: 3.0.4, 2.0.17
    • Component/s: General
    • Labels:
      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

            • Assignee:
              Lawrin Lawrin Novitsky
              Reporter:
              Lawrin Lawrin Novitsky
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: