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 |
||
|---|---|---|
| .. | ||
| connectionmanager | ||
| database | ||
| querybuilder | ||
| resultwrapper | ||
| ChronologyProtectorTest.php | ||
| TransactionProfilerTest.php | ||