Warn when flushing inside an explicit transaction.
authordaniel <daniel.kinzler@wikimedia.de>
Tue, 16 Oct 2012 11:15:50 +0000 (13:15 +0200)
committerdaniel <daniel.kinzler@wikimedia.de>
Wed, 17 Oct 2012 09:31:12 +0000 (11:31 +0200)
commit3c4ab2eb268a1f6785d524876c2df0914a48acad
treed2cacfae2cbabced34b1d5f1c002f8aad7709236
parent31a52f9e3d49d452f4aef95491de7ad75ed4ccc3
Warn when flushing inside an explicit transaction.

Until now, commit() with the "flush" flag would just commit the
transaction, no questions ask. Flushing however should only apply
to automatic transactions.

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