Changeset: b9d3de4fc37f for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/b9d3de4fc37f
Modified Files:
        clients/odbc/driver/ODBCUtil.c
Branch: Jun2023
Log Message:

Correct minimum required version number.


diffs (24 lines):

diff --git a/clients/odbc/driver/ODBCUtil.c b/clients/odbc/driver/ODBCUtil.c
--- a/clients/odbc/driver/ODBCUtil.c
+++ b/clients/odbc/driver/ODBCUtil.c
@@ -316,7 +316,7 @@ ODBCutf82wchar(const SQLCHAR *src,
  * understands.
  *
  * Precondition: query != NULL
- * Postcondition: returns a newly allocated null terminated strings.
+ * Postcondition: returns a newly allocated null terminated string.
  */
 /*
   Escape sequences:
@@ -894,7 +894,10 @@ ODBCTranslateSQL(ODBCDbc *dbc, const SQL
         * plenty long enough */
        char buf[128], buf2[128];
 
-       if (dbc->minor >= 46)
+       /* From Jun2023 release (11.47) the mserver5 SQL parser supports all
+        * ODBC escape sequences, so no scanning or translation is required 
here.
+        */
+       if (dbc->minor >= 47)
                noscan = SQL_NOSCAN_ON;
 
        if (noscan != SQL_NOSCAN_ON) {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to