cvs: php4 /ext/mysqli mysqli.c
| From: | Georg Richter | Date: | Fri, 14 Feb 2003 16:31:22 +0000 |
| Subject: | cvs: php4 /ext/mysqli mysqli.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-18817@lists.php.net to get a copy of this message | ||
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 <georg@php.net> |
+----------------------------------------------------------------------+
- $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) {