From c7ae4f650a612ccf62f68c9894f5a6cd62f464b0 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Tue, 21 Mar 2000 22:39:23 +0000 Subject: [PATCH] Clear the shadow log when doing a full sync; the data isn't good for anything anyway. --- syncshadowdb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"); -- 2.47.2