Fossil

Check-in [d0476bd958]
Login

Check-in [d0476bd958]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Implement runtime check for a minimum required version of SQLite.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | sqliteRuntimeCheck
Files: files | file ages | folders
SHA1: d0476bd9580d73ba91e60b8d6939ec3fda94918f
User & Date: mistachkin 2014-01-07 04:21:22.339
Context
2014-01-09
19:37
Enforce minimum version requirement for SQLite of 3.8.2. ... (check-in: aee292257a user: mistachkin tags: trunk)
19:32
Enforce minimum version requirement for SQLite of 3.8.2. ... (check-in: f96162b06b user: mistachkin tags: branch-1.28)
2014-01-07
20:32
Make "WITHOUT ROWID" unconditional ... (Closed-Leaf check-in: eb87f29637 user: jan.nijtmans tags: sqliteRuntimeCheck)
04:21
Implement runtime check for a minimum required version of SQLite. ... (check-in: d0476bd958 user: mistachkin tags: sqliteRuntimeCheck)
03:58
There's already an nFullName in FileTreeNode, so use that. Remove other pointless redundancy, too. ... (check-in: 6f1b5d6047 user: joel tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/main.c.
565
566
567
568
569
570
571




572
573
574
575
576
577
578
#endif
int main(int argc, char **argv)
#endif
{
  const char *zCmdName = "unknown";
  int idx;
  int rc;




  sqlite3_config(SQLITE_CONFIG_SINGLETHREAD);
  sqlite3_config(SQLITE_CONFIG_LOG, fossil_sqlite_log, 0);
  memset(&g, 0, sizeof(g));
  g.now = time(0);
  g.httpHeader = empty_blob;
#ifdef FOSSIL_ENABLE_JSON
#if defined(NDEBUG)







>
>
>
>







565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
#endif
int main(int argc, char **argv)
#endif
{
  const char *zCmdName = "unknown";
  int idx;
  int rc;
  if( sqlite3_libversion_number()<3008002 ){
    fossil_fatal("Unsuitable SQLite version %s, must be at least 3.8.2",
                 sqlite3_libversion());
  }
  sqlite3_config(SQLITE_CONFIG_SINGLETHREAD);
  sqlite3_config(SQLITE_CONFIG_LOG, fossil_sqlite_log, 0);
  memset(&g, 0, sizeof(g));
  g.now = time(0);
  g.httpHeader = empty_blob;
#ifdef FOSSIL_ENABLE_JSON
#if defined(NDEBUG)