List:Commits« Previous MessageNext Message »
From:jwinstead Date:March 12 2008 3:52pm
Subject:Connector/ODBC 3.51 commit: r1058 - in branches/guffert: . driver
View as plain text  
Modified:
   branches/guffert/ChangeLog
   branches/guffert/driver/info.c
Log:
The driver incorrectly reported that the SQL standard CAST() and
CONVERT() functions were supported. (Bug #33808)


Modified: branches/guffert/ChangeLog
===================================================================
--- branches/guffert/ChangeLog	2008-03-11 13:59:45 UTC (rev 1057)
+++ branches/guffert/ChangeLog	2008-03-12 15:52:36 UTC (rev 1058)
@@ -9,6 +9,8 @@
   * Recordset-based update fails if blob field is queried. (Bug #19065)
   * Descriptor records were not cleared correctly when calling
     SQLFreeStmt(SQL_UNBIND). (Bug #34271)
+  * The driver incorrectly reported that the SQL standard CAST() and
+    CONVERT() functions were supported. (Bug #33808)
 
 ----
 

Modified: branches/guffert/driver/info.c
===================================================================
--- branches/guffert/driver/info.c	2008-03-11 13:59:45 UTC (rev 1057)
+++ branches/guffert/driver/info.c	2008-03-12 15:52:36 UTC (rev 1058)
@@ -164,7 +164,8 @@
     MYINFO_SET_ULONG(0);
 
   case SQL_CONVERT_FUNCTIONS:
-    MYINFO_SET_ULONG(SQL_FN_CVT_CAST | SQL_FN_CVT_CONVERT);
+    /* MySQL's CONVERT() and CAST() functions aren't SQL compliant yet. */
+    MYINFO_SET_ULONG(0);
 
   case SQL_CORRELATION_NAME:
     MYINFO_SET_USHORT(SQL_CN_DIFFERENT);

Thread
Connector/ODBC 3.51 commit: r1058 - in branches/guffert: . driverjwinstead12 Mar