Re: cvs: pear /MDB2 package.php

From: Date: Thu, 25 Nov 2004 22:46:59 +0000
Subject: Re: cvs: pear /MDB2 package.php
References: 1  Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-26498@lists.php.net to get a copy of this message
Hello, On 11/25/2004 08:29 PM, Lukas Smith wrote:
+- removed destructor since most RDBMS handle uncommited transaction themselves
RDBMS (the server) would really rollback uncommitted transactions if the clients would have closed the connection. However, when you use persistent connections the RDBMS have no way of knowing that the PHP has exited the script unless the client (Web server process or CGI) exits making the database connection implicitly die. Therefore it seems you are making a big mistake because this feature was not added originally to Metabase for no reason. Dropping this feature will eventually lead to database havoc (read neverending deadlocks), which is what this Metabase feature was intended to solve. -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html

« previous php.pear.cvs (#26498) next »