silverstripe-framework/src
Sam Minnee 79c2b5ad42 FIX: Use DELETE FROM instead of TRUNCATE for clearTable
clearTable is mainly used for clearing data between tests. In this case,
there are very few or zero records, and DELETE FROM is quicker than
TRUNCATE, which works by deleting and recreating the table.

This materially speeds up test execution, at least on MySQL.

Implemented in SS3 at 815da76b056a716c8831d22bbf93528912cbcb28
2018-10-02 18:00:38 +13:00
..
conf Update deprecation PHPDocs to be PSR-5 compliant 2018-09-28 10:49:14 +02:00
Control Merge pull request #8421 from creative-commoners/pulls/4.3/psr-5-deprecations 2018-09-28 14:18:54 +02:00
Core Update deprecation PHPDocs to be PSR-5 compliant 2018-09-28 10:49:14 +02:00
Dev Update deprecation PHPDocs to be PSR-5 compliant 2018-09-28 10:49:14 +02:00
Forms Merge pull request #8409 from open-sausages/pulls/4/treedropdown-caching 2018-10-01 13:56:21 +13:00
i18n minor i18nEntityProvider.php API documentation fix 2018-09-28 10:28:00 +10:00
includes BUG Fix incorrect BASE_URL when webroot is parent of public folder 2018-02-07 14:28:06 +13:00
Logging ENHANCEMENT Don't infer trace if explicitly provided 2017-11-16 11:03:01 +13:00
ORM FIX: Use DELETE FROM instead of TRUNCATE for clearTable 2018-10-02 18:00:38 +13:00
Security Merge pull request #8421 from creative-commoners/pulls/4.3/psr-5-deprecations 2018-09-28 14:18:54 +02:00
View Merge pull request #8421 from creative-commoners/pulls/4.3/psr-5-deprecations 2018-09-28 14:18:54 +02:00