Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect loading/reload of schema [GH #16]
SQLite keeps the temporary and main meta information tables separate. The main tables are in 'sqlite_master' and the temporary tables are in 'sqlite_temp_master'. Amalgalite was not finding the temp tables when looking up the tables by name, and it was not reloading the schema correctly if there was a change to the temporary table.
- Loading branch information
1 parent
2f62c39
commit ca98a0f
Showing
4 changed files
with
86 additions
and
50 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