don't indiscriminately modSchema on db check

This commit is contained in:
Damien Elmes 2012-12-28 17:23:03 +09:00
parent caa4ee685a
commit e9b24f9f3e

View File

@ -704,8 +704,8 @@ and queue = 0""", intTime(), self.usn())
ok = not problems
problems.append(txt)
# if any problems were found, force a full sync
if problems:
self.modSchema()
if not ok:
self.modSchema(check=False)
self.save()
return ("\n".join(problems), ok)