List:Commits« Previous MessageNext Message »
From:jwinstead Date:August 1 2007 9:33pm
Subject:Connector/ODBC 3.51 commit: r624 - trunk/test
View as plain text  
Modified:
   trunk/test/my_cursor.c
Log:
Use a SQL_TIMESTAMP_STRUCT when binding something identified as SQL_C_TIMESTAMP


Modified: trunk/test/my_cursor.c
===================================================================
--- trunk/test/my_cursor.c	2007-08-01 20:28:15 UTC (rev 623)
+++ trunk/test/my_cursor.c	2007-08-01 21:33:06 UTC (rev 624)
@@ -1979,7 +1979,8 @@
     SQLRETURN rc;
     SQLINTEGER id;
     SQLLEN len,id_len,f_len,l_len,ts_len;
-    SQLCHAR fname[21],lname[21],ts[17],szTable[256];
+    SQLCHAR fname[21],lname[21],szTable[256];
+    SQL_TIMESTAMP_STRUCT ts;
     SQLSMALLINT pccol;
     SQLUSMALLINT rgfRowStatus;
 

Thread
Connector/ODBC 3.51 commit: r624 - trunk/testjwinstead1 Aug