/ Check-in [d016d078]
Login

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

Overview
Comment:Change comment in sqliteLimit.h to correctly describe the SQLITE_MAX_ATTACHED #define. Ticket #3016. (CVS 4920)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d016d0784097e6657de26ccc6bece34913093fb0
User & Date: drh 2008-03-26 15:56:22
Context
2008-03-26
17:18
Work around problems with compilers that do not allow C preprocessor macros with empty arguments. (CVS 4921) check-in: afe1963e user: drh tags: trunk
15:56
Change comment in sqliteLimit.h to correctly describe the SQLITE_MAX_ATTACHED #define. Ticket #3016. (CVS 4920) check-in: d016d078 user: drh tags: trunk
14:56
Make sure ON clause terms of a LEFT JOIN are not used with an index on the right table of the join. Ticket #3015. (CVS 4919) check-in: 3fafa562 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/sqliteLimit.h.

     8      8   **    May you find forgiveness for yourself and forgive others.
     9      9   **    May you share freely, never taking more than you give.
    10     10   **
    11     11   *************************************************************************
    12     12   ** 
    13     13   ** This file defines various limits of what SQLite can process.
    14     14   **
    15         -** @(#) $Id: sqliteLimit.h,v 1.7 2008/03/20 14:03:29 drh Exp $
           15  +** @(#) $Id: sqliteLimit.h,v 1.8 2008/03/26 15:56:22 drh Exp $
    16     16   */
    17     17   
    18     18   /*
    19     19   ** The maximum length of a TEXT or BLOB in bytes.   This also
    20     20   ** limits the size of a row in a table or index.
    21     21   **
    22     22   ** The hard limit is the ability of a 32-bit signed integer
................................................................................
   107    107   # define SQLITE_DEFAULT_CACHE_SIZE  2000
   108    108   #endif
   109    109   #ifndef SQLITE_DEFAULT_TEMP_CACHE_SIZE
   110    110   # define SQLITE_DEFAULT_TEMP_CACHE_SIZE  500
   111    111   #endif
   112    112   
   113    113   /*
   114         -** The maximum number of attached databases.  This must be at least 2
   115         -** in order to support the main database file (0) and the file used to
   116         -** hold temporary tables (1).  And it must be less than 32 because
   117         -** we use a bitmask of databases with a u32 in places (for example
   118         -** the Parse.cookieMask field).
          114  +** The maximum number of attached databases.  This must be between 0
          115  +** and 30.  The upper bound on 30 is because a 32-bit integer bitmap
          116  +** is used internally to track attached databases.
   119    117   */
   120    118   #ifndef SQLITE_MAX_ATTACHED
   121    119   # define SQLITE_MAX_ATTACHED 10
   122    120   #endif
   123    121   
   124    122   
   125    123   /*