Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Load SQLite extensions earlier
In the Preferences dialog we allow the user to configure a list of SQLite extensions which should be loaded whenever a new database file is create or an existing database file is loaded. This commit changes the order of actions after creating or opening a file so that the extensions are loaded significantly earlier. This way they are already loaded for most of the time during the process. This fixes some subtle bugs. One of the more prominent ones was triggered when there is a view which uses some function which is defined in such an extension. After loading the file, parsing would fail and you couldn't see the fields of the view. Browsing it would work but trying to edit the display format crashed the application.
- Loading branch information
1 parent
60195c7
commit f3e6aec
Showing
4 changed files
with
22 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters