summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsyncshadowdb3
1 files changed, 2 insertions, 1 deletions
diff --git a/syncshadowdb b/syncshadowdb
index e19e30cfc..f5c431266 100755
--- a/syncshadowdb
+++ b/syncshadowdb
@@ -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");