diff options
author | terry%mozilla.org <> | 2000-03-21 23:39:23 +0100 |
---|---|---|
committer | terry%mozilla.org <> | 2000-03-21 23:39:23 +0100 |
commit | c7ae4f650a612ccf62f68c9894f5a6cd62f464b0 (patch) | |
tree | 95f535070b57c2f33667af4e33770bcec70faac6 /syncshadowdb | |
parent | 16ea7e0fe44a8f3ee25e0ca84f4aa15ed62a5d72 (diff) | |
download | bugzilla-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-x | syncshadowdb | 3 |
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"); |