diff options
-rw-r--r-- | manifest | 12 | ||||
-rw-r--r-- | manifest.uuid | 2 | ||||
-rw-r--r-- | test/sqllimits1.test | 17 |
3 files changed, 23 insertions, 8 deletions
@@ -1,5 +1,5 @@ -C Add\scode\sto\senforce\sthe\sMAX_EXPR_DEPTH\slimit.\s(CVS\s3968) -D 2007-05-10T10:46:56 +C Another\stest\sfor\soverflow\sin\sstrftime().\sIt\swas\snot\sbroken.\s(CVS\s3969) +D 2007-05-10T11:43:53 F Makefile.in 87b200ad9970907f76df734d29dff3d294c10935 F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028 @@ -340,7 +340,7 @@ F test/shared_err.test cc528f6e78665787e93d9ce3a782a2ce5179d821 F test/sort.test 0e4456e729e5a92a625907c63dcdedfbe72c5dc5 F test/speed1.test 22e1b27af0683ed44dcd2f93ed817a9c3e65084a F test/speed2.test 53177056baf6556dcbdcf032bbdfc41c1aa74ded -F test/sqllimits1.test 674866819ff42075a1cefbc4bd147f24a81e45e3 +F test/sqllimits1.test b15a5784e47199d68fa1182157ba7e790f467d9f F test/subquery.test ae324ee928c5fb463a3ce08a8860d6e7f1ca5797 F test/subselect.test 974e87f8fc91c5f00dd565316d396a5a6c3106c4 F test/sync.test d05397b8f89f423dd6dba528692019ab036bc1c3 @@ -486,7 +486,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5 -P 66954bdd81dabfb60306de8480b5477a4acb1d9e -R 22592093c0c06bde534ff11e74de00ec +P 2c9c94a24d52a1c9f5d1b32cbdff794a2dd74126 +R 2c47de5a0a5040d7292e87009e059f55 U danielk1977 -Z 44dafc85e209c0119e527fcc4f0a9e17 +Z 026ef275f84adb6a35527410093e3492 diff --git a/manifest.uuid b/manifest.uuid index 24dc883fb..9da4632a9 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -2c9c94a24d52a1c9f5d1b32cbdff794a2dd74126
\ No newline at end of file +5800d0327ebc122e679ef860b58098b3c08eb709
\ No newline at end of file diff --git a/test/sqllimits1.test b/test/sqllimits1.test index f962679d7..b42ad3977 100644 --- a/test/sqllimits1.test +++ b/test/sqllimits1.test @@ -12,7 +12,7 @@ # This file contains tests to verify that the limits defined in # sqlite source file limits.h are enforced. # -# $Id: sqllimits1.test,v 1.7 2007/05/10 10:46:57 danielk1977 Exp $ +# $Id: sqllimits1.test,v 1.8 2007/05/10 11:43:53 danielk1977 Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl @@ -423,6 +423,21 @@ do_test sqllimits-1.11.2 { } } {1 {LIKE or GLOB pattern too complex}} +#-------------------------------------------------------------------- +# This test case doesn't really belong with the other limits tests. +# It is in this file because it is taxing to run, like the limits tests. +# +do_test sqllimits-1.12.1 { + set ::N [expr int(([expr pow(2,32)]/50) + 1)] + expr (($::N*50) & 0xffffffff)<55 +} {1} +do_test sqllimits-1.12.2 { + set ::format "[string repeat A 60][string repeat "%J" $::N]" + catchsql { + SELECT strftime($::format, 1); + } +} {1 {string or blob too big}} + finish_test |