]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Clear the shadow log when doing a full sync; the data isn't good for
authorterry%mozilla.org <>
Tue, 21 Mar 2000 22:39:23 +0000 (22:39 +0000)
committerterry%mozilla.org <>
Tue, 21 Mar 2000 22:39:23 +0000 (22:39 +0000)
anything anyway.

syncshadowdb

index e19e30cfc201b69df123ca74a1d7b76c71bea440..f5c4312666960138a084a0bc738cc9f4a96c2909 100755 (executable)
@@ -177,7 +177,8 @@ if ($syncall) {
     
     
     $::dbwritesallowed = 1;
-    SendSQL("UPDATE shadowlog SET reflected = 1 WHERE reflected = 0", 1);
+#    SendSQL("UPDATE shadowlog SET reflected = 1 WHERE reflected = 0", 1);
+    SendSQL("DELETE FROM shadowlog", 1);
     SendSQL("UNLOCK TABLES");
     if ($wasusing) {
         Verbose("Reenabling other processes to read from the shadow db");