iliaa Tue Mar 11 23:46:15 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/odbc php_odbc.c
Log:
MFH
Index: php4/ext/odbc/php_odbc.c
diff -u php4/ext/odbc/php_odbc.c:1.143.2.5 php4/ext/odbc/php_odbc.c:1.143.2.6
--- php4/ext/odbc/php_odbc.c:1.143.2.5 Tue Mar 4 11:35:02 2003
+++ php4/ext/odbc/php_odbc.c Tue Mar 11 23:46:15 2003
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_odbc.c,v 1.143.2.5 2003/03/04 16:35:02 iliaa Exp $ */
+/* $Id: php_odbc.c,v 1.143.2.6 2003/03/12 04:46:15 iliaa Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -2174,7 +2174,7 @@
pval **pv_db, **pv_uid, **pv_pwd, **pv_opt;
odbc_connection *db_conn;
char *hashed_details;
- int hashed_len, len, cur_opt;
+ int hashed_len, cur_opt;
/* Now an optional 4th parameter specifying the cursor type
* defaulting to the cursors default
@@ -2220,7 +2220,7 @@
persistent = 0;
}
- hashed_len = spprintf(hashed_details, 0, "%s_%s_%s_%s_%d", ODBC_TYPE, db, uid,
pwd, cur_opt);
+ hashed_len = spprintf(&hashed_details, 0, "%s_%s_%s_%s_%d", ODBC_TYPE, db,
uid, pwd, cur_opt);
/* FIXME the idea of checking to see if our connection is already persistent
is good, but it adds a lot of overhead to non-persistent connections.
We
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php