]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/database/SQLFileManager.java
fix: several testcases to the new configuration/structure
[gigi.git] / src / org / cacert / gigi / database / SQLFileManager.java
index 62083c7467663619b84466040f6ed7653f9588e7..e51e52165d5c0c986623dd5f245c008601a3dd40 100644 (file)
@@ -36,6 +36,9 @@ public class SQLFileManager {
             if (string.equals("")) {
                 continue;
             }
+            if ((string.contains("profiles") || string.contains("cacerts")) && type != ImportType.PRODUCTION) {
+                continue;
+            }
             if (m.matches() && type == ImportType.TRUNCATE) {
                 String sql2 = "TRUNCATE `" + m.group(1) + "`";
                 stmt.addBatch(sql2);