wiki.techinc.nl/tests/phpunit/includes/libs
Aaron Schulz cbc700e186 rbms: optimize and rename truncateTable() to truncate()
Allow truncation of multiple tables. This also provides for
a way to avoid risky keywords like CASCADE for Postgres.

For Postgres, use RESTART IDENTITY, which has been supported
since Postgres 8.4.

Avoid TRUNCATE/DELETE queries for empty temp tables, which is
useful for integrations tests that frequently call this method.

Reorganize and tweak the regexes in Database::getTempWrites().
It now recognizes multi-table DROP/TRUNCATE (Postgres-style).

Change-Id: Idd49f118b20ea5a0f7a3e8c00369aabcd45dd44e
2020-04-21 01:26:18 -07:00
..
filebackend/fsfile TempFSFileFactory service 2019-08-21 16:26:05 +03:00
Message Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
mime tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
objectcache objectcache: make WANObjectCache::set() handle very slow regeneration 2020-04-14 22:53:38 +00:00
ParamValidator Add expiry type to ParamValidator 2020-04-08 16:21:04 -04:00
rdbms rbms: optimize and rename truncateTable() to truncate() 2020-04-21 01:26:18 -07:00
uuid Move UIDGenerator code to a service and put it under /libs 2020-02-18 00:20:40 +00:00
CSSMinTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
GenericArrayObjectTest.php Replace all new stdClass() with identical (object)[] 2020-03-04 21:18:30 +00:00