/ Check-in [c64e8f37]
Login

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

Overview
Comment:Prepend linkage macros to the sqlite3rebaser interfaces.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:c64e8f377fe4fa321ebd04806cc27b19287e6fc3523b9988c0a70cad9fce1c18
User & Date: drh 2018-03-24 00:19:18
Context
2018-03-24
13:24
Bug fix in the LEFT JOIN strength reduction optimization of check-in [dd568c27b1d76563]. The sqlite3ExprImpliesNotNull() routine was mistakenly assuming that a CASE expression must always be NULL if contained any reference to a variable that was NULL. check-in: cf171abe user: drh tags: trunk
00:19
Prepend linkage macros to the sqlite3rebaser interfaces. check-in: c64e8f37 user: drh tags: trunk
2018-03-23
17:36
Fix typos in sqlite3session.h preventing documentation webpages from being generated. Also mark all new sessions functions (those related to rebasing) as experimental. check-in: de974235 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to tool/mksqlite3h.tcl.

    68     68   
    69     69   set declpattern3 \
    70     70       {^ *([a-zA-Z][a-zA-Z_0-9 ]+ \**)(sqlite3changeset_[_a-zA-Z0-9]+)(\(.*)$}
    71     71   
    72     72   set declpattern4 \
    73     73       {^ *([a-zA-Z][a-zA-Z_0-9 ]+ \**)(sqlite3changegroup_[_a-zA-Z0-9]+)(\(.*)$}
    74     74   
           75  +set declpattern5 \
           76  +    {^ *([a-zA-Z][a-zA-Z_0-9 ]+ \**)(sqlite3rebaser_[_a-zA-Z0-9]+)(\(.*)$}
           77  +
    75     78   # Force the output to use unix line endings, even on Windows.
    76     79   fconfigure stdout -translation lf
    77     80   
    78     81   set filelist [subst {
    79     82     $TOP/src/sqlite.h.in
    80     83     $TOP/ext/rtree/sqlite3rtree.h
    81     84     $TOP/ext/session/sqlite3session.h
................................................................................
   117    120   
   118    121       if {[regexp $varpattern $line] && ![regexp {^ *typedef} $line]} {
   119    122         set line "SQLITE_API $line"
   120    123       } else {
   121    124         if {[regexp $declpattern1 $line all rettype funcname rest] || \
   122    125             [regexp $declpattern2 $line all rettype funcname rest] || \
   123    126             [regexp $declpattern3 $line all rettype funcname rest] || \
   124         -          [regexp $declpattern4 $line all rettype funcname rest]} {
          127  +          [regexp $declpattern4 $line all rettype funcname rest] || \
          128  +          [regexp $declpattern5 $line all rettype funcname rest]} {
   125    129           set line SQLITE_API
   126    130           append line " " [string trim $rettype]
   127    131           if {[string index $rettype end] ne "*"} {
   128    132             append line " "
   129    133           }
   130    134           if {$useapicall} {
   131    135             if {[lsearch -exact $cdecllist $funcname] >= 0} {