Database debug log cleanup (remove wgDebugDumpSqlLength/wgDebugDBTransactions)
authorAaron Schulz <aschulz@wikimedia.org>
Sun, 4 Oct 2015 18:39:58 +0000 (11:39 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Mon, 5 Oct 2015 19:47:09 +0000 (12:47 -0700)
commita88df43d3f068b75f4d50c3c599ad2ccaf589f94
tree7943a246adce3f1c1307502a2a40d2b9a6efab44
parente9bafa0ed2a8c064cc43c673dd4f9efdb812045c
Database debug log cleanup (remove wgDebugDumpSqlLength/wgDebugDBTransactions)

* Simplify the debug log call and use queries group
* Remove $wgDebugDumpSqlLength, as profiler output
  already has shortened query strings (one can use
  profiling without DBO_DEBUG)
* Removed $wgDebugDBTransactions as BEGIN/COMMIT already show
* Removed PostgresTransactionState as it was only used for
  $wgDebugDBTransactions handling
* This cuts down on lots of global variable usage

Change-Id: I185adb1694441d074dea965960429b4910727620
RELEASE-NOTES-1.27
autoload.php
includes/DefaultSettings.php
includes/db/Database.php
includes/db/DatabasePostgres.php
includes/objectcache/SqlBagOStuff.php