List:Commits« Previous MessageNext Message »
From:jwinstead Date:July 31 2007 4:40pm
Subject:Connector/ODBC 3.51 commit: r619 - trunk/driver
View as plain text  
Modified:
   trunk/driver/myodbc3.h
Log:
Remove use of gptr from myodbc3.h


Modified: trunk/driver/myodbc3.h
===================================================================
--- trunk/driver/myodbc3.h	2007-07-31 14:48:00 UTC (rev 618)
+++ trunk/driver/myodbc3.h	2007-07-31 16:40:26 UTC (rev 619)
@@ -131,7 +131,7 @@
 /* Max Primary keys in a cursor * WHERE clause */
 #define MY_MAX_PK_PARTS 32
 
-#define x_free(A) { gptr tmp=(gptr) (A); if (tmp) my_free(tmp,MYF(MY_WME+MY_FAE)); }
+#define x_free(A) { void *tmp= (A); if (tmp) my_free(tmp,MYF(MY_WME+MY_FAE)); }
 
 /*
   Connection parameters, that affects the driver behaviour
@@ -254,7 +254,7 @@
 typedef struct st_param_bind
 {
   SQLSMALLINT   SqlType,CType;
-  gptr          buffer;
+  char *        buffer;
   char *        pos_in_query,*value;
   SQLINTEGER    ValueMax;
   SQLLEN *      actual_len;

Thread
Connector/ODBC 3.51 commit: r619 - trunk/driverjwinstead31 Jul