cvs: php4 /ext/odbc php_odbc.c
| From: | Dan Kalowsky | Date: | Thu, 31 Oct 2002 02:57:07 +0000 |
| Subject: | cvs: php4 /ext/odbc php_odbc.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15668@lists.php.net to get a copy of this message | ||
kalowsky Wed Oct 30 21:57:07 2002 EDT
Modified files:
/php4/ext/odbc php_odbc.c
Log:
Patch for windows DSN less connection #20086 (by john@johnandlouise.com)
Index: php4/ext/odbc/php_odbc.c
diff -u php4/ext/odbc/php_odbc.c:1.142 php4/ext/odbc/php_odbc.c:1.143
--- php4/ext/odbc/php_odbc.c:1.142 Thu Oct 24 09:14:41 2002
+++ php4/ext/odbc/php_odbc.c Wed Oct 30 21:57:06 2002
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_odbc.c,v 1.142 2002/10/24 13:14:41 sas Exp $ */
+/* $Id: php_odbc.c,v 1.143 2002/10/31 02:57:06 kalowsky Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -2107,7 +2107,7 @@
}
/* Possible fix for bug #10250
* Needs testing on UnixODBC < 2.0.5 though. */
-#if defined(HAVE_EMPRESS) || defined(HAVE_UNIXODBC)
+#if defined(HAVE_EMPRESS) || defined(HAVE_UNIXODBC) || defined(PHP_WIN32)
/* * Uncomment the line above, and comment line below to fully test
* #ifdef HAVE_EMPRESS */
{