From 420319a5ca47cb91cb593d36e2f72785d049ebad Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 21 Jan 2015 18:38:28 +0100 Subject: [PATCH] Revert "Attempt to speed-up db tests on non-H2" This reverts commit d68baaa507dab20580ddee148a87d2970a1a716e. --- .../test/java/org/sonar/core/persistence/DatabaseCommands.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-core/src/test/java/org/sonar/core/persistence/DatabaseCommands.java b/sonar-core/src/test/java/org/sonar/core/persistence/DatabaseCommands.java index a10d7cba64b..52db5b3a811 100644 --- a/sonar-core/src/test/java/org/sonar/core/persistence/DatabaseCommands.java +++ b/sonar-core/src/test/java/org/sonar/core/persistence/DatabaseCommands.java @@ -64,7 +64,7 @@ public abstract class DatabaseCommands { abstract List resetPrimaryKey(String table, int minSequenceValue); String getTruncateCommand(String table) { - return "DELETE FROM " + table; + return "TRUNCATE TABLE " + table; } public static DatabaseCommands forDialect(Dialect dialect) { -- 2.39.5