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:
3c9cf89
)
Upgrade error logging when implicit transactions are committed early
author
Aaron Schulz
<aschulz@wikimedia.org>
Sun, 10 Jul 2016 23:39:31 +0000
(16:39 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Sun, 10 Jul 2016 23:39:31 +0000
(16:39 -0700)
Change-Id: If976a405cd1374e70fc9af76e47b9a3f12c354c9
includes/db/Database.php
patch
|
blob
|
history
diff --git
a/includes/db/Database.php
b/includes/db/Database.php
index
cfdf382
..
d4edf01
100644
(file)
--- a/
includes/db/Database.php
+++ b/
includes/db/Database.php
@@
-2606,7
+2606,7
@@
abstract class DatabaseBase implements IDatabase {
} else {
// The transaction was automatic and has done write operations
if ( $this->mTrxDoneWrites ) {
- wf
Debug
( "$fname: Automatic transaction with writes in progress" .
+ wf
LogDBError
( "$fname: Automatic transaction with writes in progress" .
" (from {$this->mTrxFname}), performing implicit commit!\n"
);
}