Clear the shadow log when doing a full sync; the data isn't good for

anything anyway.


git-svn-id: svn://10.0.0.236/trunk@63584 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
terry%mozilla.org
2000-03-21 14:39:23 +00:00
parent bc1e33c0b7
commit 77b2c9fc99

View File

@@ -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");