wiki.techinc.nl/tests/phpunit/includes/db
Aaron Schulz 52d2ebb30a Make insertSelect() do two separate queries in non-CLI mode
This avoids slave lag and makes query time account easier.
It also avoids table-level autoinc locking and slave drift
with statement-based replication in some setups.

Also refactored the use of $wgCommandLine mode in
DatabaseBase slightly, so that it can be injected.

Change-Id: I2dba6024ecf32c9ee24a3080cce3b02568c1458b
2016-08-31 17:21:30 -07:00
..
DatabaseMysqlBaseTest.php database: Clean up profiling code in DatabaseBase 2016-08-29 22:13:03 +00:00
DatabaseSqliteTest.php Avoid rebuilding database fixtures for every test run 2016-03-10 23:44:34 +00:00
DatabaseSQLTest.php Make insertSelect() do two separate queries in non-CLI mode 2016-08-31 17:21:30 -07:00
DatabaseTest.php Add LBFactory::beginMasterChanges() for doing DBO_TRX rounds 2016-08-23 18:09:28 -07:00
DatabaseTestHelper.php Make insertSelect() do two separate queries in non-CLI mode 2016-08-31 17:21:30 -07:00
LBFactoryTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00