/ Check-in [5b7ca013]
Login

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

Overview
Comment:When building the amalgamation with SQLITE_ENABLE_IOTRACE defined, do not mark symbol sqlite3IoTrace as static.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5b7ca013b7171a6807b15b128e140ce160f526d3
User & Date: dan 2014-12-24 17:17:30
Context
2014-12-24
18:11
Fix a failing assert() in balance_nonroot(). check-in: e2e32314 user: dan tags: trunk
17:17
When building the amalgamation with SQLITE_ENABLE_IOTRACE defined, do not mark symbol sqlite3IoTrace as static. check-in: 5b7ca013 user: dan tags: trunk
2014-12-23
21:17
Merge the new and improved releasetest.tcl script into trunk. Add a "make releasetest" target to the autoconf makefile. check-in: 1deb00ec user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/main.c.

    58     58   #if !defined(SQLITE_OMIT_TRACE) && defined(SQLITE_ENABLE_IOTRACE)
    59     59   /*
    60     60   ** If the following function pointer is not NULL and if
    61     61   ** SQLITE_ENABLE_IOTRACE is enabled, then messages describing
    62     62   ** I/O active are written using this function.  These messages
    63     63   ** are intended for debugging activity only.
    64     64   */
    65         -void (*sqlite3IoTrace)(const char*, ...) = 0;
           65  +/* not-private */ void (*sqlite3IoTrace)(const char*, ...) = 0;
    66     66   #endif
    67     67   
    68     68   /*
    69     69   ** If the following global variable points to a string which is the
    70     70   ** name of a directory, then that directory will be used to store
    71     71   ** temporary files.
    72     72   **

Changes to tool/mksqlite3c.tcl.

   208    208               set line {const char sqlite3_version[] = SQLITE_VERSION;}
   209    209             }
   210    210             regsub {^SQLITE_EXTERN } $line {} line
   211    211             puts $out "SQLITE_API $line"
   212    212           }
   213    213         } elseif {[regexp {^(SQLITE_EXTERN )?void \(\*sqlite3IoTrace\)} $line]} {
   214    214           regsub {^SQLITE_EXTERN } $line {} line
   215         -        puts $out "SQLITE_PRIVATE $line"
          215  +        puts $out $line
   216    216         } elseif {[regexp {^void \(\*sqlite3Os} $line]} {
   217    217           puts $out "SQLITE_PRIVATE $line"
   218    218         } else {
   219    219           puts $out $line
   220    220         }
   221    221       } else {
   222    222         puts $out $line