dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f86bd0a
)
Remove pointless rollback() warnings with "flush"
author
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 13 Jan 2016 15:00:42 +0000
(07:00 -0800)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 13 Jan 2016 15:00:45 +0000
(07:00 -0800)
This would previously make log noise when rollbackMasterChangesAndLog()
is triggered for explicit transactions.
Change-Id: Ia0009bcf575ef346d3bb7354ce3fb6fb477eb95f
includes/db/Database.php
patch
|
blob
|
history
diff --git
a/includes/db/Database.php
b/includes/db/Database.php
index
6e1b8a9
..
c58e9bd
100644
(file)
--- a/
includes/db/Database.php
+++ b/
includes/db/Database.php
@@
-2689,8
+2689,6
@@
abstract class DatabaseBase implements IDatabase {
} else {
if ( !$this->mTrxLevel ) {
return; // nothing to do
- } elseif ( !$this->mTrxAutomatic ) {
- wfWarn( "$fname: Flushing an explicit transaction, getting out of sync!" );
}
}