mirror of
https://github.com/zotero/zotero.git
synced 2026-10-01 02:01:24 +00:00
We only ever checked for corruption errors from transactions in queryAsync(), so a corruption error raised by the COMMIT that mozStorage runs itself bypassed the check. A 10.0 schema upgrade -- which heavily exercises the database -- that failed due to corruption showed "Database upgrade error" and a single Sqlite.sys.mjs frame instead of the prompt offering to restore from a backup. Two users reported this, but it's not clear what triggered it -- corruption usually occurs during a statement, which we did catch. There may have been some statement transaction whose corruption error was caught and ignored rather than being left to abort the transaction, causing SQLite to then block the commit. That's what the test does, and it fails without the fix. https://forums.zotero.org/discussion/133611/ |
||
|---|---|---|
| .. | ||
| components | ||
| content | ||
| resource | ||
| tests | ||
| chrome.manifest | ||
| runtests.sh | ||