summaryrefslogtreecommitdiffstats
path: root/syncshadowdb
diff options
context:
space:
mode:
authorterry%mozilla.org <>2000-03-21 23:39:23 +0100
committerterry%mozilla.org <>2000-03-21 23:39:23 +0100
commitc7ae4f650a612ccf62f68c9894f5a6cd62f464b0 (patch)
tree95f535070b57c2f33667af4e33770bcec70faac6 /syncshadowdb
parent16ea7e0fe44a8f3ee25e0ca84f4aa15ed62a5d72 (diff)
downloadbugzilla-c7ae4f650a612ccf62f68c9894f5a6cd62f464b0.tar.gz
bugzilla-c7ae4f650a612ccf62f68c9894f5a6cd62f464b0.tar.xz
Clear the shadow log when doing a full sync; the data isn't good for
anything anyway.
Diffstat (limited to 'syncshadowdb')
-rwxr-xr-xsyncshadowdb3
1 files changed, 2 insertions, 1 deletions
diff --git a/syncshadowdb b/syncshadowdb
index e19e30cfc..f5c431266 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");