-
Notifications
You must be signed in to change notification settings - Fork 841
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
add support for multiple pragma statements and driver syntax #3031
add support for multiple pragma statements and driver syntax #3031
Conversation
Makes sense to me. This is not backward compatible though, previous style pragma settings will be silently ignored. Maybe we should check for the previous pragma style settings and throw an error asking them to update their config for a couple of versions? |
Instead of erroring, we can be backwards compatible. |
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.
Looks good to me.
Co-authored-by: Alex Shtin <alex@shtin.com>
Co-authored-by: Alex Shtin <alex@shtin.com>
* add support for multiple pragma statements and driver syntax * Update common/persistence/sql/sqlplugin/sqlite/driver.go Co-authored-by: Alex Shtin <alex@shtin.com> * Update common/persistence/sql/sqlplugin/sqlite/plugin.go Co-authored-by: Alex Shtin <alex@shtin.com> Co-authored-by: Alex Shtin <alex@shtin.com>
What changed?
Change in how SQLite dsn is constructed to match upstream driver
Why?
Support multiple pragma statements
Change in upstream driver for file uri
How did you test it?
Updated unit tests
Local dev environment
Potential risks
None
Is hotfix candidate?
Yes