mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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:
parent
8cf535f5cf
commit
718b3f9df6
1 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue