Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Since fossil now uses sqlite3_trace_v2(), it needs at least the 'pi' release of SQLite. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
0dc21b70c6337e39328afb11a6b9f461 |
| User & Date: | jan.nijtmans 2016-08-09 14:42:12.708 |
Context
|
2016-08-10
| ||
| 09:06 | Remove unnecessary spacing ... (check-in: c3b5f1d2f2 user: jan.nijtmans tags: trunk) | |
|
2016-08-09
| ||
| 14:42 | Since fossil now uses sqlite3_trace_v2(), it needs at least the 'pi' release of SQLite. ... (check-in: 0dc21b70c6 user: jan.nijtmans tags: trunk) | |
|
2016-08-08
| ||
| 14:20 | Update the built-in SQLite to 3.14 release. ... (check-in: 60d5fee782 user: drh tags: trunk) | |
Changes
Changes to auto.def.
| ︙ | ︙ | |||
86 87 88 89 90 91 92 |
# search for the system SQLite once with -ldl, and once without. If
# the library can only be found with $extralibs set to -ldl, then
# the code below will append -ldl to LIBS.
#
foreach extralibs {{} {-ldl}} {
# Locate the system SQLite by searching for sqlite3_open(). Then check
| | | | | | 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 |
# search for the system SQLite once with -ldl, and once without. If
# the library can only be found with $extralibs set to -ldl, then
# the code below will append -ldl to LIBS.
#
foreach extralibs {{} {-ldl}} {
# Locate the system SQLite by searching for sqlite3_open(). Then check
# if sqlite3_trace_v2() can be found as well. If we can find open() but
# not trace_v2(), then the system SQLite is too old to link against
# fossil.
#
if {[check-function-in-lib sqlite3_open sqlite3 $extralibs]} {
if {![check-function-in-lib sqlite3_trace_v2 sqlite3 $extralibs]} {
user-error "system sqlite3 too old (require >= 3.14.0)"
}
# Success. Update symbols and return.
#
define USE_SYSTEM_SQLITE 1
define-append LIBS -lsqlite3
define-append LIBS $extralibs
|
| ︙ | ︙ |
Changes to src/main.c.
| ︙ | ︙ | |||
590 591 592 593 594 595 596 |
#endif
int main(int argc, char **argv)
#endif
{
const char *zCmdName = "unknown";
int idx;
int rc;
| | | | 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 |
#endif
int main(int argc, char **argv)
#endif
{
const char *zCmdName = "unknown";
int idx;
int rc;
if( sqlite3_libversion_number()<3014000 ){
fossil_fatal("Unsuitable SQLite version %s, must be at least 3.14.0",
sqlite3_libversion());
}
sqlite3_config(SQLITE_CONFIG_MULTITHREAD);
sqlite3_config(SQLITE_CONFIG_LOG, fossil_sqlite_log, 0);
memset(&g, 0, sizeof(g));
g.now = time(0);
g.httpHeader = empty_blob;
|
| ︙ | ︙ |