mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
reset due on load if outside i32 bounds
Some third party clients that create apkg files appear to be saving a millisecond timestamp into this column. While this could also be solved by increasing this field to a 64 bit number, some older clients expect this column to be a 32 bit number.
This commit is contained in:
parent
94d369db18
commit
898801ebda
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ impl super::SqliteStorage {
|
||||||
usn: row.get(4)?,
|
usn: row.get(4)?,
|
||||||
ctype: row.get(5)?,
|
ctype: row.get(5)?,
|
||||||
queue: row.get(6)?,
|
queue: row.get(6)?,
|
||||||
due: row.get(7)?,
|
due: row.get(7).ok().unwrap_or_default(),
|
||||||
ivl: row.get(8)?,
|
ivl: row.get(8)?,
|
||||||
factor: row.get(9)?,
|
factor: row.get(9)?,
|
||||||
reps: row.get(10)?,
|
reps: row.get(10)?,
|
||||||
|
|
Loading…
Reference in a new issue