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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user