[question] sqlite3 default options
See original GitHub issueJust tried to take a sqlite3 as my dependency and I see that conan-center-index default options does not match the one in the SQLite documentation:
This option controls whether or not code is included in SQLite to enable it to operate safely in a multithreaded environment. The default is SQLITE_THREADSAFE=1
Whereas in conan-center-index it is: https://github.com/conan-io/conan-center-index/blob/master/recipes/sqlite3/all/conanfile.py#L32
What is the aproach here - shouldnt packages try to match default behavior? If thats the case I can review the flags and make a pr possibly.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Frequently Asked Questions - SQLite
The default configuration of SQLite only supports case-insensitive comparisons of ASCII characters. The reason for this is that doing full ...
Read more >Change SQLite default settings - Stack Overflow
But I want to know if there is any way make the two default settings? Do some modify for the source code of...
Read more >sqlite3 — DB-API 2.0 interface for SQLite databases — Python ...
Can be "DEFERRED" (default), "EXCLUSIVE" or "IMMEDIATE" ; or None to disable opening transactions implicitly. See Transaction control for more.
Read more >Default values in SQLite3 - DBA Stack Exchange
SQLite only implements a very limited subset of ALTER TABLE statements. You'll have to drop and recreate the table, preferably in one ...
Read more >How To Use the sqlite3 Module in Python 3 - DigitalOcean
In this tutorial, we learned how to use the sqlite3 module to connect to a SQLite database, add data to that database, as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The fact that sqlitepp requires a specific value does not imply that it has to be the default. It means that it should be built by CCI too. Keeping defaults consistent with the packaged library should be the rule. And as @fulara said, vcpkg seems to actually use the actual default value.
EDIT: also, it seems that sqlitecpp supports threadsafe=1 : https://github.com/SRombauts/SQLiteCpp/issues/195#issuecomment-488113454
I’ve been bitten by this as well in #1570 The poco recipe requires thread safety to be nonzero.