зеркало из https://github.com/mozilla/pjs.git
Clear the shadow log when doing a full sync; the data isn't good for
anything anyway.
This commit is contained in:
Родитель
566f5e00b8
Коммит
7bea35b096
|
@ -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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче