diff options
| author | Georg Richter <georg@php.net> | 2003-02-14 16:31:22 +0000 |
|---|---|---|
| committer | Georg Richter <georg@php.net> | 2003-02-14 16:31:22 +0000 |
| commit | 1a7a41cf9f4eddcc7a9898b06defa2cb4f9b2edb (patch) | |
| tree | e7643b55dc1bc12208a63ed36ef236361f1d364c /ext/mysqli/mysqli.c | |
| parent | 92279e5e06076bee6d2274082674befa75f5fd24 (diff) | |
| download | php-git-1a7a41cf9f4eddcc7a9898b06defa2cb4f9b2edb.tar.gz | |
fixed a bug in prepare/bind
Diffstat (limited to 'ext/mysqli/mysqli.c')
| -rw-r--r-- | ext/mysqli/mysqli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c index 2c56d4fd60..01f4ad1956 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -42,7 +42,7 @@ void php_clear_stmt_bind(STMT *stmt) { int i; - if (stmt->stmt) + if (stmt->stmt && stmt->stmt->mysql->host) mysql_stmt_close(stmt->stmt); if (stmt->var_cnt) { |
