Comments (13)
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.
from grdb.swift.
or set it as an option parameter in the configuration to check db?
from grdb.swift.
Do you see a reason to want to avoid the check?
from grdb.swift.
Hmm, maybe efficiency?
from grdb.swift.
Hmm, maybe efficiency?
Not really relevant here: we don't open databases that often.
OK, let's perform the check for all databases.
from grdb.swift.
GRDB v0.65.0 is out: it fixes this issue.
from grdb.swift.
Thanks for the report.
from grdb.swift.
thanks - how long before cocoapods picks this up?
from grdb.swift.
A couple of seconds?
from grdb.swift.
strange it seems to be stuck with .62
from grdb.swift.
v0.65.0 has been pushed: https://cocoapods.org/pods/GRDB.swift.
from grdb.swift.
very strange the latest i can install is .62
from grdb.swift.
i see i need to do a pod repo update now ...
from grdb.swift.
Related Issues (20)
- Query too complex for me - some help required HOT 6
- RecordEncoder fails to encode optional AttributedString fields as JSON – "unkeyed encoding is not supported" HOT 6
- podspec is not including the Privacy manifest HOT 4
- SQLite error 283 (notification message): recovered 864 frames from WAL file HOT 1
- 6.25.0 does not support provisioning profiles HOT 3
- Question about usage of generated columns HOT 4
- Assertion failed: unexpected NULL value HOT 5
- Confusion over .including(all:) query HOT 6
- How can I do floating-point division on an association count? HOT 8
- Latest version 6.26.0 is not deployed to the Cocoapod HOT 4
- Please add the Privacy Manifest file to the v5.x release. HOT 1
- package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '/ swift-tools-version: 5.9' to specify the current tools... HOT 1
- Request: Add citation to the repo HOT 3
- Cocoapods hasn't published since 6.24.1 HOT 2
- Cocoapods 6.26.0 release is not available in Cocapods Specs repo HOT 1
- Privacy Manifest: Entry missing for accessing file timestamps via creationDate API HOT 4
- When transaction updating multiple records in the database, if one of the records does not exist, it leads to update failure. HOT 4
- Avoid conflict with other SPM packages by renaming the CSQLite SPM target
- ValueObservation.tracking called on the updating thread HOT 5
- GRDB does not seem to copy over all rows when inserting within a migration HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grdb.swift.