From b3a509ac9e8e942f4c5a1cbff8d529593cdd938f Mon Sep 17 00:00:00 2001 From: Dan Kalowsky Date: Tue, 8 May 2001 19:47:20 +0000 Subject: [PATCH] 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. --- ext/odbc/php_odbc.c | 10 +++++----- 1 file 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]; -- 2.40.0