dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
044bd1d
)
Merge "Database: Generalise SQL before writing to debug log"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Tue, 1 Jul 2014 21:38:39 +0000
(21:38 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Tue, 1 Jul 2014 21:38:39 +0000
(21:38 +0000)
includes/db/Database.php
patch
|
blob
|
history
diff --git
a/includes/db/Database.php
b/includes/db/Database.php
index
699ab71
..
7d8fbe9
100644
(file)
--- a/
includes/db/Database.php
+++ b/
includes/db/Database.php
@@
-1022,7
+1022,7
@@
abstract class DatabaseBase implements IDatabase, DatabaseType {
$this->mLastQuery = $sql;
if ( !$this->mDoneWrites && $this->isWriteQuery( $sql ) ) {
# Set a flag indicating that writes have been done
- wfDebug( __METHOD__ .
": Writes done: $sql
\n" );
+ wfDebug( __METHOD__ .
': Writes done: ' . DatabaseBase::generalizeSQL( $sql ) . "
\n" );
$this->mDoneWrites = true;
}