Set some missing INTERNAL DB transaction flags and add wfWarn() calls
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 1 Sep 2016 12:10:48 +0000 (05:10 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 1 Sep 2016 22:03:14 +0000 (15:03 -0700)
commit7197f32c82b468d83da0aed239ba44d5435816c3
tree6b70e8748c68be75f266fbea8d67e59d2a523b59
parentaea84b1e3753553b47acce7558537e63edee719f
Set some missing INTERNAL DB transaction flags and add wfWarn() calls

Make TRANSACTION_INTERNAL set mTrxAutomatic rather that
having callers have to do that individually.

The warnings should actually make tests fail with backtraces,
rather than often just having wrong things happen later.

Change-Id: Ic247a7b42a686f170f7abe6ec584459f3db4ed69
includes/db/Database.php