commit all transactions on closing the db (there is only one, but we support inner transactions - logically speaking)

git-svn-id: file:///svn/phpbb/trunk@8271 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2007-12-06 12:27:53 +00:00
parent 8cf535f5cf
commit 718b3f9df6

View file

@ -124,7 +124,11 @@ class dbal
if ($this->transaction)
{
$this->sql_transaction('commit');
do
{
$this->sql_transaction('commit');
}
while ($this->transaction);
}
foreach ($this->open_queries as $query_id)