-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for issue #450 #451
Fix for issue #450 #451
Conversation
Can reproduce and confirm PR resolves issue #450. This issue occurs when the SQLite db files have already been created however write access is then revoked to make them read-only.
If we then allow access, startup but then change the directory to read only:
When running any command that tries to write to the files we get the error in #450
With the change in the PR we get the correct error message as follows telling us the .db file is readonly.
The PR is fine to accept - many thanks @shirwadkarsonia |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix resolves #450 and was reproduced as per general comment to assist other reviewers.
Merging after reviews and approval of the three members of the code maintenance team. |
Fixed issue #450. Error was being caused by the error message "Error creating $tablename table in $sqlitedb : $message" in src/generic/genxml.tcl. The variable $tablename does not exist inside the function "SQLiteUpdateKeyValue" and hence was throwing an exception. Changed to variable name to $table.