openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit c5a42a3dfb9afef4b1da964c79bf7f8a408b0065
parent 033306a3b109cd0ac4e22d2996c4a77f12ce1f52
Author: dankert <devnull@localhost>
Date:   Mon,  7 Dec 2009 19:44:40 +0100

Schalter für geöffnete Transaktionen zurücksetzen.

Diffstat:
db/db.class.php | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/db/db.class.php b/db/db.class.php @@ -418,7 +418,10 @@ class DB if ( @$this->conf['transaction']) if ( method_exists($this->client,'commit') ) if ( $this->transactionInProgress ) + { $this->client->commit(); + $this->transactionInProgress = false; + } } /** @@ -429,7 +432,10 @@ class DB if ( @$this->conf['transaction']) if ( method_exists($this->client,'rollback') ) if ( $this->transactionInProgress ) + { $this->client->rollback(); + $this->transactionInProgress = false; + } } }