-
-
Notifications
You must be signed in to change notification settings - Fork 727
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
No error when opening a jpg as a database #54
Comments
Hello @mtissington I think that SQLite won't complain until database is actually accessed. I know that this is the case for encrypted databases: SQLite won't notice any error, for example a wrong passphrase, until the database is accessed. So that the user gets an early error when the passphrase is not correct, GRDB does an early check. It does this check only for encrypted databases. Maybe we could do it for regular databases, too. |
or set it as an option parameter in the configuration to check db? |
Do you see a reason to want to avoid the check? |
Hmm, maybe efficiency? |
Not really relevant here: we don't open databases that often. OK, let's perform the check for all databases. |
GRDB v0.65.0 is out: it fixes this issue. |
Thanks for the report. |
thanks - how long before cocoapods picks this up? |
A couple of seconds? |
strange it seems to be stuck with .62 |
v0.65.0 has been pushed: https://cocoapods.org/pods/GRDB.swift. |
very strange the latest i can install is .62 |
i see i need to do a pod repo update now ... |
I attempt to open a jpg file as a database and do not get any error. This must be wrong?
url is pointing to a .jpg file
`var config: Configuration = Configuration()
The text was updated successfully, but these errors were encountered: