mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 20:38:52 +00:00
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8346 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
5efd4f2c00
commit
fb1c5e22f6
2 changed files with 8 additions and 0 deletions
|
@ -103,6 +103,7 @@
|
||||||
<li>[Fix] Stricter checks on smilie packs (Bug #19675)</li>
|
<li>[Fix] Stricter checks on smilie packs (Bug #19675)</li>
|
||||||
<li>[Fix] Gracefully return from cancelling pm drafts (Bug #19675)</li>
|
<li>[Fix] Gracefully return from cancelling pm drafts (Bug #19675)</li>
|
||||||
<li>[Fix] Possible login problems with IE7 if browser check is activated (Bug #20135)</li>
|
<li>[Fix] Possible login problems with IE7 if browser check is activated (Bug #20135)</li>
|
||||||
|
<li>[Fix] Fix possible database transaction errors if code returns on error and rollback happened (Bug #17025)</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<a name="v30rc8"></a><h3>1.i. Changes since 3.0.RC8</h3>
|
<a name="v30rc8"></a><h3>1.i. Changes since 3.0.RC8</h3>
|
||||||
|
|
|
@ -262,6 +262,13 @@ class dbal
|
||||||
return true;
|
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');
|
$result = $this->_sql_transaction('commit');
|
||||||
|
|
||||||
if (!$result)
|
if (!$result)
|
||||||
|
|
Loading…
Add table
Reference in a new issue