Closed
Bug 754546
Opened 12 years ago
Closed 4 years ago
configure should test for SQLITE_MAX_DEFAULT_PAGE_SIZE and SQLITE_MAX_SCHEMA_RETRY with --enable-system-sqlite
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: glandium, Unassigned)
References
Details
Sadly, AFAICT, there is no API to get the value of compile options, so it's probably not possible for SQLITE_MAX_SCHEMA_RETRY, but for SQLITE_MAX_DEFAULT_PAGE_SIZE, we can probably do a run test checking if setting a page size of 32k yields a 32k page size (since the default in sqlite is 8k). I don't think testing for SQLITE_DEFAULT_PAGE_SIZE is important. I recently noticed that the system sqlite I'm using doesn't have these two compile options, and it would have been more helpful if configure would have just thrown an error at my face.
Comment 1•10 years ago
|
||
Slightly modified from Firefox's configure.in test for system-sqlite's SECURE_DELETE option: #include "sqlite3.h" int main(int argc, char **argv){ return sqlite3_compileoption_used("SQLITE_SECURE_DELETE"); Adjust as necessary.
Updated•6 years ago
|
Product: Core → Firefox Build System
Comment 2•4 years ago
|
||
Should be no more a problem now that we don't support anymore system sqlite
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•