/ Check-in [1b124af4]
Login

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

Overview
Comment:Add the SQLITE_MAX_SCHEMA_RETRY compile-time option to the set of options understood by "PRAGMA compile_options;" and by the "sqlite_compileoption_used()" function.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1b124af40a8fa4d3094f24a9213096b66411b8f9
User & Date: drh 2011-08-31 20:47:50
Context
2011-08-31
21:01
Formerly, we enabled fdatasync() on linux only. But now we learn that fdatasync() is not supported on Android. So we disable fdatasync() on Linux too. It can be reenabled at compile-time for those who really need it. check-in: 70b5b309 user: drh tags: trunk
20:47
Add the SQLITE_MAX_SCHEMA_RETRY compile-time option to the set of options understood by "PRAGMA compile_options;" and by the "sqlite_compileoption_used()" function. check-in: 1b124af4 user: drh tags: trunk
19:40
The server1.test script should only run if mutexes are functional. Fix to the #ifdef change of check-in [9e6a4c1473]. check-in: 64898485 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Show Whitespace Changes Patch

Changes to src/ctime.c.

   140    140   #endif
   141    141   #ifdef SQLITE_INT64_TYPE
   142    142     "INT64_TYPE",
   143    143   #endif
   144    144   #ifdef SQLITE_LOCK_TRACE
   145    145     "LOCK_TRACE",
   146    146   #endif
          147  +#ifdef SQLITE_MAX_SCHEMA_RETRY
          148  +  "MAX_SCHEMA_RETRY=" CTIMEOPT_VAL(SQLITE_MAX_SCHEMA_RETRY),
          149  +#endif
   147    150   #ifdef SQLITE_MEMDEBUG
   148    151     "MEMDEBUG",
   149    152   #endif
   150    153   #ifdef SQLITE_MIXED_ENDIAN_64BIT_FLOAT
   151    154     "MIXED_ENDIAN_64BIT_FLOAT",
   152    155   #endif
   153    156   #ifdef SQLITE_NO_SYNC