https://github.com/springmeyer/wtf-sqlite3
grab sqlite3's compile/config options via a simple c program
https://github.com/springmeyer/wtf-sqlite3
Last synced: 10 months ago
JSON representation
grab sqlite3's compile/config options via a simple c program
- Host: GitHub
- URL: https://github.com/springmeyer/wtf-sqlite3
- Owner: springmeyer
- Created: 2011-11-11T05:40:00.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-11-15T01:40:52.000Z (over 14 years ago)
- Last Synced: 2024-12-28T18:28:06.499Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 6.92 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wtf-sqlite
SQLite is awesome for reads.
For writes, not so much - unless your calling app controls concurrency.
But, it helps to know exactly wtf is happening internally in your sqlite build.
For such a "lite" library, sqlite has an wide combination of threading options.
Compile this bit of code against your sqlite3 headers and libs to figure out your build's threading config.
# usage
Designed to compare apple provided sqlite with homebrew installed sqlite.
Modify the flags in the Makefile with custom -I and -L paths to get details for other installs.
Build this program like:
make
Then get the apple/system sqlite details like:
$ ./sqlite-sys
And get the brew installed sqlite details like:
$ ./sqlite-brew