Comments (3)
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.
That makes a lot of sense.
Thanks a lot for your comprehensive reply @groue!
from grdb.swift.
You're welcome! Happy GRDB :-)
from grdb.swift.
Related Issues (20)
- Missing column crash after migration is performed HOT 12
- Issue with aggregate HOT 24
- can upsertAndFetch support list record? now only support one record HOT 9
- Async bug? (reads not seeing writes in sequential async code) HOT 10
- Custom sqllite version HOT 5
- `databaseDateEncodingStrategy` not work when implement `func encode(to container: inout PersistenceContainer)` HOT 3
- raw SQL can support insert array? HOT 1
- primarykey(_:) does not allow specifying a schema name HOT 5
- dumpContent dumps undesired information from FTS5 virtual tables HOT 1
- Catch a `recordNotFound` error when using `MutablePersistableRecord.save(db)` to update or insert. HOT 4
- GRDB migrator and previous FMDB database HOT 3
- GRDB called a `Not implemented` function while inserting. HOT 2
- Issue with having in fetch query HOT 5
- `databaseDateEncodingStrategy` not wok when update a existing record HOT 1
- Throwing subscript Row value HOT 4
- Linker error when building for watchOS with Address Sanitizer enabled HOT 7
- “database disk image is malformed” when deleting some datas HOT 1
- Setting a default value for a date time column HOT 3
- Pool.get got "priority inversions" warnings in concurrent visit. HOT 6
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.