/ Check-in [2f468da4]
Login

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

Overview
Comment:Fix a harmless compiler warning in the memtrace.c extension.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:2f468da4e9fb3edb5e902fa5d3c528726d1fb64d749d29e558ba3243c76bcb95
User & Date: drh 2019-02-05 19:52:39
Context
2019-02-05
20:51
Omit the ".progress" command from the shell if it is compiled with the SQLITE_OMIT_PROGRESS_CALLBACK option. check-in: 4d0a949f user: drh tags: trunk
19:52
Fix a harmless compiler warning in the memtrace.c extension. check-in: 2f468da4 user: drh tags: trunk
19:48
Fix compiler warnings on Windows. check-in: 4978ee8b user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/misc/memtrace.c.

    73     73   static sqlite3_mem_methods ersaztMethods = {
    74     74     memtraceMalloc,
    75     75     memtraceFree,
    76     76     memtraceRealloc,
    77     77     memtraceSize,
    78     78     memtraceRoundup,
    79     79     memtraceInit,
    80         -  memtraceShutdown
           80  +  memtraceShutdown,
           81  +  0
    81     82   };
    82     83   
    83     84   /* Begin tracing memory allocations to out. */
    84     85   int sqlite3MemTraceActivate(FILE *out){
    85     86     int rc = SQLITE_OK;
    86     87     if( memtraceBase.xMalloc==0 ){
    87     88       rc = sqlite3_config(SQLITE_CONFIG_GETMALLOC, &memtraceBase);