/ Check-in [ea3c7162]
Login

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

Overview
Comment:Turn memory status off by default.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | debug
Files: files | file ages | folders
SHA1: ea3c7162dc79cb85868d2bc86d9938fe7c2ae7ef
User & Date: drh 2016-07-29 16:32:34
Context
2016-07-30
03:33
A new version of the slow mutex log that uses gettimeofday() instead of trying to access the hardware timer. check-in: 92b9fead user: drh tags: debug
2016-07-29
16:32
Turn memory status off by default. check-in: ea3c7162 user: drh tags: debug
14:31
Enhance a debugging log message to better identify a mutex. check-in: e60cb6d8 user: dan tags: debug
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/sqliteInt.h.

   195    195   /*
   196    196   ** The SQLITE_DEFAULT_MEMSTATUS macro must be defined as either 0 or 1.
   197    197   ** It determines whether or not the features related to 
   198    198   ** SQLITE_CONFIG_MEMSTATUS are available by default or not. This value can
   199    199   ** be overridden at runtime using the sqlite3_config() API.
   200    200   */
   201    201   #if !defined(SQLITE_DEFAULT_MEMSTATUS)
   202         -# define SQLITE_DEFAULT_MEMSTATUS 1
          202  +# define SQLITE_DEFAULT_MEMSTATUS 0
   203    203   #endif
   204    204   
   205    205   /*
   206    206   ** Exactly one of the following macros must be defined in order to
   207    207   ** specify which memory allocation subsystem to use.
   208    208   **
   209    209   **     SQLITE_SYSTEM_MALLOC          // Use normal system malloc()