wiki.techinc.nl/includes/libs/rdbms
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
..
connectionmanager Streamline/fix code by using short ?: and ?? syntax 2019-11-11 11:17:13 +01:00
database rbms: optimize and rename truncateTable() to truncate() 2020-04-21 01:26:18 -07:00
encasing Remove more Oracle and Mssql leftovers 2019-08-25 17:21:49 +00:00
exception Clean up redundant Exception|Throwable union type 2020-02-12 20:28:40 +00:00
field Set method visibility for various constructors 2019-12-03 20:17:30 +01:00
lbfactory rdbms: convert "Exception" try/catch blocks to "Throwable" or "RuntimeException" 2020-04-02 01:14:17 +00:00
loadbalancer rdbms: convert "Exception" try/catch blocks to "Throwable" or "RuntimeException" 2020-04-02 01:14:17 +00:00
loadmonitor rdbms: Fix unprocessed "{host}" in LoadMonitor replag message 2020-03-25 14:43:12 +00:00
querybuilder Add SelectQueryBuilder 2020-02-07 10:10:17 +11:00
ChronologyProtector.php Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
defines.php Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
TransactionProfiler.php rdbms: Move Profiler @ingroup docs from file to class 2020-04-20 20:05:53 +01:00