cvs: pear /MDB package.xml /MDB/MDB ibase.php

From: Date: Fri, 11 Mar 2005 14:03:25 +0000
Subject: cvs: pear /MDB package.xml /MDB/MDB ibase.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-30202@lists.php.net to get a copy of this message
quipo Fri Mar 11 09:03:25 2005 EDT Modified files: /pear/MDB/MDB ibase.php /pear/MDB package.xml Log: update the "in_transaction" property on commit/rollback (bug #3774) http://cvs.php.net/diff.php/pear/MDB/MDB/ibase.php?r1=1.75&r2=1.76&ty=u Index: pear/MDB/MDB/ibase.php diff -u pear/MDB/MDB/ibase.php:1.75 pear/MDB/MDB/ibase.php:1.76 --- pear/MDB/MDB/ibase.php:1.75 Thu Mar 10 19:18:33 2005 +++ pear/MDB/MDB/ibase.php Fri Mar 11 09:03:22 2005 @@ -42,7 +42,7 @@ // | Author: Lorenzo Alberton <l.alberton@quipo.it> | // +----------------------------------------------------------------------+ // -// $Id: ibase.php,v 1.75 2005/03/11 00:18:33 quipo Exp $ +// $Id: ibase.php,v 1.76 2005/03/11 14:03:22 quipo Exp $ require_once 'MDB/Common.php'; @@ -316,6 +316,7 @@ 'Commit: transaction changes are being auto commited')); } $connection = ($this->auto_commit ? $this->connection : $this->transaction_id); + $this->in_transaction = false; return @ibase_commit($connection); } @@ -345,6 +346,7 @@ return($this->raiseError(MDB_ERROR, NULL, NULL, 'Rollback: Could not rollback a pending transaction: '.@ibase_errmsg())); } + $this->in_transaction = false; return $this->_startTransaction(); } @@ -362,6 +364,7 @@ return($this->raiseError(MDB_ERROR, NULL, NULL, 'Could not start a new transaction: '.@ibase_errmsg())); } + $this->in_transaction = true; return MDB_OK; } http://cvs.php.net/diff.php/pear/MDB/package.xml?r1=1.59&r2=1.60&ty=u Index: pear/MDB/package.xml diff -u pear/MDB/package.xml:1.59 pear/MDB/package.xml:1.60 --- pear/MDB/package.xml:1.59 Thu Mar 10 19:36:24 2005 +++ pear/MDB/package.xml Fri Mar 11 09:03:24 2005 @@ -22,6 +22,7 @@ - setSelectedRowRange() used to return one more result than requested - fixed bug #3770: autoCommit(false) now automatically starts a new transaction - fixed bug #3771: commit() now uses the correct connection resource + - fixed bug #3774: update the "in_transaction" property on commit/rollback <filelist> <file role="php" baseinstalldir="/">MDB.php</file> <file role="doc">README</file>

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