/ Check-in [edbcccd3]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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

Overview
Comment:Minor change to mkfts5c.tcl so that fts5.c can be used according to the instructions in loadext.html.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: edbcccd349090efff3f975e27451608136a429fc
User & Date: dan 2015-07-02 18:52:16
Context
2015-07-02
19:47
When doing coverage analysis of a btree page for pragma integrity_check, make the first entry (that covers the header, cell index, and gap) implied, for a performance boost and size reduction. check-in: e53d497c user: drh tags: trunk
18:52
Minor change to mkfts5c.tcl so that fts5.c can be used according to the instructions in loadext.html. check-in: edbcccd3 user: dan tags: trunk
18:16
Add fts5_source_id() SQL function, similar to sqlite_source_id(). check-in: ec257348 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/fts5/tool/mkfts5c.tcl.

    20     20     %dir%/fts5_varint.c
    21     21     %dir%/fts5_vocab.c
    22     22     fts5parse.c
    23     23   }]
    24     24   
    25     25   set G(hdr) {
    26     26   
    27         -#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS5) 
           27  +#if !defined(SQLITE_TEST) || defined(SQLITE_ENABLE_FTS5) 
    28     28   
    29     29   #if !defined(NDEBUG) && !defined(SQLITE_DEBUG) 
    30     30   # define NDEBUG 1
    31     31   #endif
    32     32   #if defined(NDEBUG) && defined(SQLITE_DEBUG)
    33     33   # undef NDEBUG
    34     34   #endif
    35     35   
    36     36   }
    37     37   
    38     38   set G(footer) {
    39     39       
    40         -#endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS5) */
           40  +#endif /* !defined(SQLITE_TEST) || defined(SQLITE_ENABLE_FTS5) */
    41     41   }
    42     42   
    43     43   #-------------------------------------------------------------------------
    44     44   # Read and return the entire contents of text file $zFile from disk.
    45     45   #
    46     46   proc readfile {zFile} {
    47     47     set fd [open $zFile]