diff options
author | Georg Richter <georg@php.net> | 2003-02-18 00:32:47 +0000 |
---|---|---|
committer | Georg Richter <georg@php.net> | 2003-02-18 00:32:47 +0000 |
commit | 2f604f67e8180a459f802d2ba07ac82c1c206549 (patch) | |
tree | 8620f2b5c83ee29d5cb1943ddae948c2e77443c0 | |
parent | bc5eb4b3b47b4d6beda5f1149a3712043e51b418 (diff) | |
download | php-git-2f604f67e8180a459f802d2ba07ac82c1c206549.tar.gz |
removed duplicate code
-rw-r--r-- | ext/mysqli/mysqli.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c index 75996eab4d..0fbe0f514e 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -81,13 +81,6 @@ static void mysqli_objects_dtor(void *object, zend_object_handle handle TSRMLS_D if (intern->zo.ce == mysqli_link_class_entry) { MYSQL *mysql = (MYSQL *)intern->ptr; if (mysql) { - /* - * Don't free mysql if there exist - * non closed statements - */ - if (mysql->stmts) { - mysql->free_me = 0; - } mysql_close(mysql); } } else if (intern->zo.ce == mysqli_stmt_class_entry) { /* stmt object */ |