/ Check-in [c3cbe3b0]
Login

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

Overview
Comment:Attempt to get DBSTAT to compile without warnings across all build configurations.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: c3cbe3b06eb37b9949c5fcb0e257a845953de7a7
User & Date: drh 2015-05-12 19:10:18
Context
2015-05-12
21:27
Experimental API extension for recovering the current trace and profile callbacks on a database connection. check-in: 9de33768 user: drh tags: get-trace
19:53
Fix typo in Win32 VFS code enabled when the SQLITE_WIN32_USE_UUID compile-time option is used. check-in: b33f1bac user: mistachkin tags: trunk
19:10
Attempt to get DBSTAT to compile without warnings across all build configurations. check-in: c3cbe3b0 user: drh tags: trunk
14:22
Fix a compiler warning when building with tclsqlite3.c and without SQLITE_ENABLE_DBSTAT_VTAB. check-in: aad3ff25 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/dbstat.c.

    14     14   **
    15     15   ** The dbstat virtual table is used to extract low-level formatting
    16     16   ** information from an SQLite database in order to implement the
    17     17   ** "sqlite3_analyzer" utility.  See the ../tool/spaceanal.tcl script
    18     18   ** for an example implementation.
    19     19   */
    20     20   
           21  +#include "sqliteInt.h"   /* Requires access to internal data structures */
    21     22   #if (defined(SQLITE_ENABLE_DBSTAT_VTAB) || defined(SQLITE_TEST)) \
    22     23       && !defined(SQLITE_OMIT_VIRTUALTABLE)
    23         -#include "sqliteInt.h"   /* Requires access to internal data structures */
    24     24   
    25     25   /*
    26     26   ** Page paths:
    27     27   ** 
    28     28   **   The value of the 'path' column describes the path taken from the 
    29     29   **   root-node of the b-tree structure to each page. The value of the 
    30     30   **   root-node path is '/'.