Giter Club home page Giter Club logo

Comments (3)

groue avatar groue commented on June 2, 2024

Hello @gmoraleda,

The SQLite Error And Warning Log is global: it captures SQLite errors from the whole process.

The callback just gets an error message and an error code. It does not know which SQLite connection is the source of the error: it is impossible to distinguish the databases you create from databases created by third-party libraries or the system, from within the process of your application.

This SQLite tool is documented as a "huge aid for debugging", so I'm not sure that the captured "noise" would be considered as an issue by SQLite authors. They could argue that in this noisy signal is the information you are looking for when you are debugging, so the main use case remains well-addressed. Maybe you can discuss this topic in the SQLite forums, though. You could argue that modern applications can use a lot of SQLite databases, and that the noise is becoming too high.

I'm sorry iOS 17.2 has introduced more SQLite-based libraries that trigger SQLite errors, but there's nothing GRDB can do in the current state of SQLite.

from grdb.swift.

gmoraleda avatar gmoraleda commented on June 2, 2024

That makes a lot of sense.
Thanks a lot for your comprehensive reply @groue!

from grdb.swift.

groue avatar groue commented on June 2, 2024

You're welcome! Happy GRDB :-)

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.