From: terry%mozilla.org <> Date: Tue, 21 Mar 2000 22:39:23 +0000 (+0000) Subject: Clear the shadow log when doing a full sync; the data isn't good for X-Git-Tag: bugzilla-2.12~334 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7ae4f650a612ccf62f68c9894f5a6cd62f464b0;p=thirdparty%2Fbugzilla.git Clear the shadow log when doing a full sync; the data isn't good for anything anyway. --- diff --git a/syncshadowdb b/syncshadowdb index e19e30cfc2..f5c4312666 100755 --- a/syncshadowdb +++ b/syncshadowdb @@ -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");