Anki/rslib/src/storage
Damien Elmes 8fc43956c2 move collection mtime bump into backend
Fixes the following issue:
- some code directly modifies the database, causing modified_in_python
to be set to true
- an undoable operation is run, which calls autosave() at the end
- autosave() notices there's an undoable operation, and commits immediately
- because modified_in_python was true, col.mtime was bumped in Python
- that invalidated the undo queue, preventing the operation from being
undone
2021-03-19 19:45:21 +10:00
..
card undo support for note adding 2021-03-10 11:47:53 +10:00
config undo support for config entries 2021-03-10 11:53:27 +10:00
deck undo support for deck adding/removing 2021-03-10 23:50:11 +10:00
deckconf handle duplicate keys in schema 11 deckconf 2021-03-04 11:52:15 +10:00
graves add indexes to graves table to speed up undo 2021-03-12 18:59:24 +10:00
note initial work on undoing reviews+burying siblings 2021-03-10 11:47:53 +10:00
notetype reformat .sql files 2021-01-09 14:08:55 +10:00
revlog initial work on undoing reviews+burying siblings 2021-03-10 11:47:53 +10:00
tag Merge branch 'master' into sidebar-tools 2021-03-10 10:34:36 +01:00
upgrades add indexes to graves table to speed up undo 2021-03-12 18:59:24 +10:00
mod.rs allow normal sync tests to run offline 2021-01-12 18:47:08 +10:00
schema11.sql Add comment explaining why sfld column has type integer 2021-01-25 18:39:59 +08:00
sqlite.rs move collection mtime bump into backend 2021-03-19 19:45:21 +10:00
sync.rs allow normal sync tests to run offline 2021-01-12 18:47:08 +10:00
sync_check.rs another snapshot of sync work 2020-06-01 13:57:10 +10:00