Modified:
branches/guffert/driver/info.c
Log:
Temporary fix for bug#30626
Modified: branches/guffert/driver/info.c
===================================================================
--- branches/guffert/driver/info.c 2008-06-13 20:37:14 UTC (rev 1117)
+++ branches/guffert/driver/info.c 2008-06-14 17:04:31 UTC (rev 1118)
@@ -1011,9 +1011,12 @@
{
if (odbc_version == SQL_OV_ODBC2)
{
+ /* Windows ODBC DM maps these to ODBCv3 types for a v3 Driver */
+#if !defined(_WIN32) || defined(SUPPORT_ONLY_ODBCV2_DATE_TYPES)
my_int2str(SQL_TIMESTAMP,sql_timestamp,-10,0);
my_int2str(SQL_DATE,sql_date,-10,0);
my_int2str(SQL_TIME,sql_time,-10,0);
+#endif
myodbc_sqlstate2_init();
myodbc_ov2_inited= 1;
}
| Thread |
|---|
| • Connector/ODBC 3.51 commit: r1118 - branches/guffert/driver | jbalint | 14 Jun |