Subject | Re: [firebird-php] Problem with ADODB and transaction handling |
---|---|
Author | Lester Caine |
Post date | 2004-11-22T13:28:36Z |
mi_whitebrook_13 wrote:
I manage 'saves' independent of the queries, so that is probably why I
am not seeing any problem. I presume you are getting some parts of a
'package' committed where you had expected the whole to be rolled back
after a problem. Starting and Stopping transactions manually may be
needed rather than just relying on the default actions.
See http://www.php.net/manual/en/function.ibase-trans.php for the
changes between PHP4 and PHP5
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
> John Lim of ADODB said that ibase_trans() would cause crashes on somePHP4 or PHP5?
> systems and that's why this line is commented out.
> So i'm hoping that someone will try to put ibase_trans back in place
> and test transaction handling. For me everything works correctly after
> after uncommenting ibase_trans like:
> $this->_transactionID = ibase_trans($this->ibasetrans,
> $this->_connectionID);
I manage 'saves' independent of the queries, so that is probably why I
am not seeing any problem. I presume you are getting some parts of a
'package' committed where you had expected the whole to be rolled back
after a problem. Starting and Stopping transactions manually may be
needed rather than just relying on the default actions.
See http://www.php.net/manual/en/function.ibase-trans.php for the
changes between PHP4 and PHP5
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services