[ODBC-143] In case of ANSI_QUOTES sql mode, wrong value returned for SQL_IDENTIFIER_QUOTE_CHAR info Created: 2018-05-03  Updated: 2018-05-07  Resolved: 2018-05-03

Status: Closed
Project: MariaDB Connector/ODBC
Component/s: General
Affects Version/s: 2.0.16, 3.0.3
Fix Version/s: 3.0.4, 2.0.17

Type: Bug Priority: Minor
Reporter: Lawrin Novitsky Assignee: Lawrin Novitsky
Resolution: Fixed Votes: 0
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.



 Comments   
Comment by Lawrin Novitsky [ 2018-05-03 ]

I have pushed this issue related part into odbc-3.0. it's yet to be merged/cherry-picked into odbc-2.0

Generated at Thu Feb 08 03:26:32 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.