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

anything anyway.
This commit is contained in:
terry%mozilla.org 2000-03-21 14:39:23 +00:00
Родитель 566f5e00b8
Коммит 7bea35b096
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

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