/ Check-in [51726a9b]
Login

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

Overview
Comment:In sqllimits1.test, set MAX_SQL_LENGTH to a value smaller than MAX_LENGTH. (CVS 4385)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 51726a9bb6c7f98c496302745656dc317ad5c094
User & Date: danielk1977 2007-09-03 18:01:25
Context
2007-09-03
20:32
Documentation updates in preparation for the release of version 3.5.0. (CVS 4386) check-in: c6809bf7 user: drh tags: trunk
18:01
In sqllimits1.test, set MAX_SQL_LENGTH to a value smaller than MAX_LENGTH. (CVS 4385) check-in: 51726a9b user: danielk1977 tags: trunk
17:42
Unix OS interface returns SQLITE_CANTOPEN following a getcwd() failure. (CVS 4384) check-in: ed15db46 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/sqllimits1.test.

     8      8   #    May you share freely, never taking more than you give.
     9      9   #
    10     10   #***********************************************************************
    11     11   #
    12     12   # This file contains tests to verify that the limits defined in
    13     13   # sqlite source file limits.h are enforced.
    14     14   #
    15         -# $Id: sqllimits1.test,v 1.16 2007/09/03 17:30:07 danielk1977 Exp $
           15  +# $Id: sqllimits1.test,v 1.17 2007/09/03 18:01:25 danielk1977 Exp $
    16     16   
    17     17   set testdir [file dirname $argv0]
    18     18   source $testdir/tester.tcl
    19     19   
    20     20   # Test organization:
    21     21   #
    22     22   #     sqllimits-1.*:  SQLITE_MAX_LENGTH
................................................................................
    41     41   unset -nocomplain saved
    42     42   foreach var [info vars SQLITE_MAX_*] {
    43     43     set saved($var) [set $var]
    44     44   }
    45     45   
    46     46   set SQLITE_MAX_LENGTH                 100000
    47     47   set SQLITE_MAX_COLUMN
    48         -set SQLITE_MAX_SQL_LENGTH             100000
           48  +set SQLITE_MAX_SQL_LENGTH              50000
    49     49   set SQLITE_MAX_EXPR_DEPTH               1000
    50     50   set SQLITE_MAX_COMPOUND_SELECT             5
    51     51   set SQLITE_MAX_VDBE_OP
    52     52   set SQLITE_MAX_FUNCTION_ARG
    53     53   set SQLITE_MAX_VARIABLE_NUMBER
    54     54   set SQLITE_MAX_PAGE_SIZE
    55     55   set SQLITE_MAX_PAGE_COUNT