/ Check-in [be21a641]
Login

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

Overview
Comment:Changes to the unix VFS that allegedly enable it to build of Fuchsia. We have no way of testing this.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: be21a6416d47ff7db995006a0422b745044d9b8bb5bad3c53342aa6e2e524771
User & Date: drh 2019-02-20 19:20:16
Context
2019-03-15
19:08
Back out the change to support Fuchsia, since it turns out fuchsia does not like dot-file locks. check-in: 1d801a3b user: drh tags: trunk
2019-02-21
16:41
Detect oversized strings in the OP_String opcode even if the P4 argument is originally UTF8 and has to be converted to UTF16 to match the database file and that conversion causes the string to become shorter and cross below SQLITE_LIMIT_LENGTH threshold. This might fix an OSSFuzz problem that we have been so far unable to reproduce. check-in: c13d5639 user: drh tags: trunk
2019-02-20
19:20
Changes to the unix VFS that allegedly enable it to build of Fuchsia. We have no way of testing this. check-in: be21a641 user: drh tags: trunk
19:06
Disable unix-specific features of dbfuzz2 when compiling on windows. check-in: af84774d user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/os_unix.c.

  7818   7818     ** array cannot be const.
  7819   7819     */
  7820   7820     static sqlite3_vfs aVfs[] = {
  7821   7821   #if SQLITE_ENABLE_LOCKING_STYLE && defined(__APPLE__)
  7822   7822       UNIXVFS("unix",          autolockIoFinder ),
  7823   7823   #elif OS_VXWORKS
  7824   7824       UNIXVFS("unix",          vxworksIoFinder ),
         7825  +#elif __Fuchsia__
         7826  +    /* We are told that Fuchsia only supports dot-file locking */
         7827  +    UNIXVFS("unix",          dotlockIoFinder ),
  7825   7828   #else
  7826   7829       UNIXVFS("unix",          posixIoFinder ),
  7827   7830   #endif
  7828   7831       UNIXVFS("unix-none",     nolockIoFinder ),
  7829   7832       UNIXVFS("unix-dotfile",  dotlockIoFinder ),
  7830   7833       UNIXVFS("unix-excl",     posixIoFinder ),
  7831   7834   #if OS_VXWORKS