From 0a750005b9607241e858018e2503e4c000ce5671 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 19 Oct 2013 12:22:17 +0900 Subject: [PATCH] do not bump usn/mod when automatically unburying in the upcoming daily unburying, this could lead to a state where the remote end unburies just at the start of sync and clobbers more recent changes made on the local end --- anki/sched.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/anki/sched.py b/anki/sched.py index 81818033c..99fffa382 100644 --- a/anki/sched.py +++ b/anki/sched.py @@ -146,8 +146,7 @@ order by due""" % self._deckLimit(), self.col.log( self.col.db.list("select id from cards where queue = -2")) self.col.db.execute( - "update cards set mod=?,usn=?,queue=type where queue = -2", - intTime(), self.col.usn()) + "update cards set queue=type where queue = -2") def unburyCardsForDeck(self): sids = ids2str(self.col.decks.active())