mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-21 18:44:37 +02:00
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8346 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@ -262,6 +262,13 @@ class dbal
|
||||
return true;
|
||||
}
|
||||
|
||||
// Check if there is a transaction (no transaction can happen if there was an error, with a combined rollback and error returning enabled)
|
||||
// This implies we have transaction always set for autocommit db's
|
||||
if (!$this->transaction)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
$result = $this->_sql_transaction('commit');
|
||||
|
||||
if (!$result)
|
||||
|
Reference in New Issue
Block a user