cvs: php4 /ext/mysqli mysqli.c

From: Date: Tue, 18 Feb 2003 00:32:47 +0000
Subject: cvs: php4 /ext/mysqli mysqli.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-18923@lists.php.net to get a copy of this message
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 <georg@php.net> | +----------------------------------------------------------------------+ - $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 */

« previous php.cvs (#18923) next »