georg Mon Feb 17 19:32:47 2003 EDT Modified files: /php4/ext/mysqli mysqli.c Log: removed duplicate code Index: php4/ext/mysqli/mysqli.c diff -u php4/ext/mysqli/mysqli.c:1.5 php4/ext/mysqli/mysqli.c:1.6 --- php4/ext/mysqli/mysqli.c:1.5 Mon Feb 17 19:00:51 2003 +++ php4/ext/mysqli/mysqli.c Mon Feb 17 19:32:47 2003 @@ -15,7 +15,7 @@ | Author: Georg Richter <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ - $Id: mysqli.c,v 1.5 2003/02/18 00:00:51 georg Exp $ + $Id: mysqli.c,v 1.6 2003/02/18 00:32:47 georg Exp $ */ #ifdef HAVE_CONFIG_H @@ -81,13 +81,6 @@ 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 */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php