Restore DB table reconciliation during integrity check
But skip it at startup, even if flagged on, if there are schema update steps to perform, to avoid creating tables that aren't expected to exist yet. Originally added in5b9e6497a
but disabled inc4cc44528
and7a434df53
This commit is contained in:
parent
a2dc7f23cd
commit
9152012368
4 changed files with 38 additions and 23 deletions
|
@ -367,6 +367,13 @@ function ZoteroService() {
|
|||
zContext.Zotero.startupErrorHandler();
|
||||
}
|
||||
else if (zContext.Zotero.startupError) {
|
||||
// Try to repair the DB on the next startup, in case it helps resolve
|
||||
// the error
|
||||
try {
|
||||
zContext.Zotero.Schema.setIntegrityCheckRequired(true);
|
||||
}
|
||||
catch (e) {}
|
||||
|
||||
try {
|
||||
zContext.Zotero.startupError =
|
||||
zContext.Zotero.Utilities.Internal.filterStack(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue