mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 00:07:44 +02:00
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:
@@ -123,9 +123,13 @@ class dbal
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($this->transaction)
|
if ($this->transaction)
|
||||||
|
{
|
||||||
|
do
|
||||||
{
|
{
|
||||||
$this->sql_transaction('commit');
|
$this->sql_transaction('commit');
|
||||||
}
|
}
|
||||||
|
while ($this->transaction);
|
||||||
|
}
|
||||||
|
|
||||||
foreach ($this->open_queries as $query_id)
|
foreach ($this->open_queries as $query_id)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user