summaryrefslogtreecommitdiff
path: root/ext/odbc/php_odbc.c
diff options
context:
space:
mode:
authorDan Kalowsky <kalowsky@php.net>2001-05-08 19:47:20 +0000
committerDan Kalowsky <kalowsky@php.net>2001-05-08 19:47:20 +0000
commitb3a509ac9e8e942f4c5a1cbff8d529593cdd938f (patch)
tree6a82196aca6505c52cd096b213d56001b8a09b23 /ext/odbc/php_odbc.c
parenta514e8fe6621d54cfd387fca993846c2be9cc4c8 (diff)
downloadphp-git-b3a509ac9e8e942f4c5a1cbff8d529593cdd938f.tar.gz
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.
Diffstat (limited to 'ext/odbc/php_odbc.c')
-rw-r--r--ext/odbc/php_odbc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c
index 94a6cb11f3..06af9a029e 100644
--- a/ext/odbc/php_odbc.c
+++ b/ext/odbc/php_odbc.c
@@ -1919,11 +1919,11 @@ int odbc_sqlconnect(odbc_connection **conn, char *db, char *uid, char *pwd, int
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];