cvs: php4 /ext/odbc php_odbc.c
| From: | Dan Kalowsky | Date: | Tue, 08 May 2001 19:47:20 +0000 |
| Subject: | cvs: php4 /ext/odbc php_odbc.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5602@lists.php.net to get a copy of this message | ||
kalowsky Tue May 8 12:47:20 2001 EDT
Modified files:
/php4/ext/odbc php_odbc.c
Log:
this is a fix for bug 10250. it basically provides the unixODBC driver with
access to the SQLDriver functions. patch originally submitted by
dzoll@nyscul.org, and is going to be tested by some of the unixODBC people.
Index: php4/ext/odbc/php_odbc.c
diff -u php4/ext/odbc/php_odbc.c:1.83 php4/ext/odbc/php_odbc.c:1.84
--- php4/ext/odbc/php_odbc.c:1.83 Wed May 2 16:20:04 2001
+++ php4/ext/odbc/php_odbc.c Tue May 8 12:47:20 2001
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_odbc.c,v 1.83 2001/05/02 23:20:04 andi Exp $ */
+/* $Id: php_odbc.c,v 1.84 2001/05/08 19:47:20 kalowsky Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -1919,11 +1919,11 @@
return FALSE;
}
}
-/* Possible fix for bug #
- * Needs testing on UnixODBC < 2.0.5 though.
- * #if defined(HAVE_EMPRESS) || defined(HAVE_UNIXODBC)
- * Uncomment the line above, and comment line below to fully test */
-#ifdef HAVE_EMPRESS
+/* Possible fix for bug #10250
+ * Needs testing on UnixODBC < 2.0.5 though. */
+ #if defined(HAVE_EMPRESS) || defined(HAVE_UNIXODBC)
+/* * Uncomment the line above, and comment line below to fully test
+ * #ifdef HAVE_EMPRESS */
{
int direct = 0;
char dsnbuf[300];