Fix usage of $wgDebugDumpSql
authorAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Sat, 5 Apr 2014 06:54:11 +0000 (08:54 +0200)
committerAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Sat, 5 Apr 2014 06:54:11 +0000 (08:54 +0200)
commita0d178740a8e44aab7d79e1ce4f6f8bf6a9ab521
tree774af710ef760aa8e2373f40af0b14accf06324c
parentcaf352a2d135ed3e9852a925ae130a05997ce151
Fix usage of $wgDebugDumpSql

- In DatabaseMssql, use $this->debug() instead of $wgDebugDumpSql
  so that it takes into account the DBO_DEBUG flag
- Use the same construction to set the DBO_DEBUG flag in
  LBFactorySimple::newMainLB() as for the other flags so that
  it is easier to read the code

Change-Id: Ie775cdb3677739a97e0d64dabbf80fc685149337
includes/db/DatabaseMssql.php
includes/db/LBFactory.php