georg Fri Feb 14 11:31:22 2003 EDT
Modified files:
/php4/ext/mysqli mysqli.c
Log:
fixed a bug in prepare/bind
Index: php4/ext/mysqli/mysqli.c
diff -u php4/ext/mysqli/mysqli.c:1.1 php4/ext/mysqli/mysqli.c:1.2
--- php4/ext/mysqli/mysqli.c:1.1 Tue Feb 11 19:45:53 2003
+++ php4/ext/mysqli/mysqli.c Fri Feb 14 11:31:22 2003
@@ -15,7 +15,7 @@
| Author: Georg Richter <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
- $Id: mysqli.c,v 1.1 2003/02/12 00:45:53 georg Exp $
+ $Id: mysqli.c,v 1.2 2003/02/14 16:31:22 georg Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -42,7 +42,7 @@
int i;
- if (stmt->stmt)
+ if (stmt->stmt && stmt->stmt->mysql->host)
mysql_stmt_close(stmt->stmt);
if (stmt->var_cnt) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php