From: Roan Kattouw Date: Thu, 12 Nov 2015 02:17:23 +0000 (-0800) Subject: Followup a88df43d: make $wgDebugDumpSql log commented queries again X-Git-Tag: 1.31.0-rc.0~9003^2 X-Git-Url: http://git.cyclocoop.org///%22%40url%40//%22?a=commitdiff_plain;h=0e2b5706ad7f344c2eddfe90f0db9b31c774321b;p=lhc%2Fweb%2Fwiklou.git Followup a88df43d: make $wgDebugDumpSql log commented queries again Change-Id: I0c10b2119f03fa047dbb2bad1c4c1233403bff59 --- diff --git a/includes/db/Database.php b/includes/db/Database.php index 60cf0ecef0..968a0fd390 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -989,7 +989,7 @@ abstract class DatabaseBase implements IDatabase { } if ( $this->debug() ) { - wfDebugLog( 'queries', sprintf( "%s: %s", $this->mDBname, $sql ) ); + wfDebugLog( 'queries', sprintf( "%s: %s", $this->mDBname, $commentedSql ) ); } $queryId = MWDebug::query( $sql, $fname, $isMaster );