Re: Re: setting the sequence number using MDB2

From: Date: Wed, 20 Apr 2005 12:49:23 +0000
Subject: Re: Re: setting the sequence number using MDB2
References: 1 2 3 4 5 6 7 8  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18824@lists.php.net to get a copy of this message
On 20/04/2005, at 9:44 PM, Lukas Smith wrote:
Dan Rossi wrote:
How do other people usually do it , with this kind of setup ??
you could use MDB2::singleton()
I suppose the internals of innodb rollbacks any transaction ready to be committed so its not table based ? if i set it up from a static method, i would need to send it the db settings to tell its supports transactions too right ? And i would also need to check if a query has been made otherwise dont bother rolling bak etc .. I reckon this should happen internally around the _query method just before raiseError :) So check if supports transactions, somehow check if autocommit is turned off or if beginTransaction was called what you reckon ? Btw I was wondering when a full release may happen and nomore BC breaks ? :)

« previous php.pear.general (#18824) next »