/ Check-in [9335c940]
Login

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

Overview
Comment:Fix a comment on the SQLITE_SQL_MAX_LENGTH definition. (CVS 4610)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 9335c940504f5979066b70ec445b57acfb251713
User & Date: drh 2007-12-11 20:04:15
Context
2007-12-12
04:38
Fix test numbering in tkt2822.test. Ticket #2830. (CVS 4611) check-in: 8fe8e9c4 user: danielk1977 tags: trunk
2007-12-11
20:04
Fix a comment on the SQLITE_SQL_MAX_LENGTH definition. (CVS 4610) check-in: 9335c940 user: drh tags: trunk
19:34
Build the CLI using the amalgamation. Relax the limit on SQL statement length when building the CLI. (CVS 4609) check-in: a5d81cd3 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.3 2007/11/05 14:30:23 drh Exp $
           15  +** @(#) $Id: sqliteLimit.h,v 1.4 2007/12/11 20:04:15 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
................................................................................
    45     45   */
    46     46   #ifndef SQLITE_MAX_COLUMN
    47     47   # define SQLITE_MAX_COLUMN 2000
    48     48   #endif
    49     49   
    50     50   /*
    51     51   ** The maximum length of a single SQL statement in bytes.
    52         -** The hard limit here is the same as SQLITE_MAX_LENGTH.
           52  +** The hard limit is 1 million.
    53     53   */
    54     54   #ifndef SQLITE_MAX_SQL_LENGTH
    55     55   # define SQLITE_MAX_SQL_LENGTH 1000000
    56     56   #endif
    57     57   
    58     58   /*
    59     59   ** The maximum depth of an expression tree. This is limited to