Giter Club home page Giter Club logo

Comments (13)

groue avatar groue commented on May 17, 2024

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.

mtissington avatar mtissington commented on May 17, 2024

or set it as an option parameter in the configuration to check db?

from grdb.swift.

groue avatar groue commented on May 17, 2024

Do you see a reason to want to avoid the check?

from grdb.swift.

mtissington avatar mtissington commented on May 17, 2024

Hmm, maybe efficiency?

from grdb.swift.

groue avatar groue commented on May 17, 2024

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.

groue avatar groue commented on May 17, 2024

GRDB v0.65.0 is out: it fixes this issue.

from grdb.swift.

groue avatar groue commented on May 17, 2024

Thanks for the report.

from grdb.swift.

mtissington avatar mtissington commented on May 17, 2024

thanks - how long before cocoapods picks this up?

from grdb.swift.

groue avatar groue commented on May 17, 2024

A couple of seconds?

from grdb.swift.

mtissington avatar mtissington commented on May 17, 2024

strange it seems to be stuck with .62

from grdb.swift.

groue avatar groue commented on May 17, 2024

v0.65.0 has been pushed: https://cocoapods.org/pods/GRDB.swift.

from grdb.swift.

mtissington avatar mtissington commented on May 17, 2024

very strange the latest i can install is .62

from grdb.swift.

mtissington avatar mtissington commented on May 17, 2024

i see i need to do a pod repo update now ...

from grdb.swift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.