Merge pull request #8433 from sminnee/faster-cleartable

FIX: Use DELETE FROM instead of TRUNCATE for clearTable
This commit is contained in:
Robbie Averill 2018-10-02 10:43:54 +02:00 committed by GitHub
commit 2ca089bcce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -403,7 +403,7 @@ abstract class Database
*/
public function clearTable($table)
{
$this->query("TRUNCATE \"$table\"");
$this->query("DELETE FROM \"$table\"");
}
/**