Commit c7ae4f65 authored by terry%mozilla.org's avatar terry%mozilla.org

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

anything anyway.
parent 16ea7e0f
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment