/ Check-in [83b7dd73]
Login

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

Overview
Comment:Change one of the test cases in incrblob2.test to avoid allocating a 10MB block of heap memory. (CVS 5764)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 83b7dd737a16555b9eb4ad9faacac3d705b0a90e
User & Date: danielk1977 2008-10-03 08:44:54
Context
2008-10-03
09:10
Modifications to bind.test to account for different values of SQLITE_MAX_VARIABLE_NUMBER. Ticket #3409. (CVS 5765) check-in: 1a91f3fd user: danielk1977 tags: trunk
08:44
Change one of the test cases in incrblob2.test to avoid allocating a 10MB block of heap memory. (CVS 5764) check-in: 83b7dd73 user: danielk1977 tags: trunk
2008-10-02
16:42
Change to reduce the number of OP_Null opcodes in "WHERE <rowid> IN (x,y,z)" queries. (CVS 5763) check-in: 33b59a3d user: danielk1977 tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/incrblob2.test.

     8      8   #    May you share freely, never taking more than you give.
     9      9   #
    10     10   #***********************************************************************
    11     11   #
    12     12   # Test that it is possible to have two open blob handles on a single
    13     13   # blob object.
    14     14   #
    15         -# $Id: incrblob2.test,v 1.8 2008/06/28 15:33:26 danielk1977 Exp $
           15  +# $Id: incrblob2.test,v 1.9 2008/10/03 08:44:54 danielk1977 Exp $
    16     16   #
    17     17   
    18     18   set testdir [file dirname $argv0]
    19     19   source $testdir/tester.tcl
    20     20   
    21     21   ifcapable {!autovacuum || !pragma || !incrblob} {
    22     22     finish_test
................................................................................
   359    359   # incremental-blob handles. At one point an assert() was failing when
   360    360   # this was attempted.
   361    361   #
   362    362   do_test incrblob2-8.1 {
   363    363     execsql BEGIN
   364    364     set h [db incrblob t2 B 1]
   365    365     set rc [catch {
   366         -    db eval {SELECT * FROM t2} { execsql "DROP TABLE t2" }
          366  +    db eval {SELECT rowid FROM t2} { execsql "DROP TABLE t2" }
   367    367     } msg] 
   368    368     list $rc $msg
   369    369   } {1 {database table is locked}}
   370    370   do_test incrblob2-8.2 {
   371    371     close $h
   372    372     execsql COMMIT
   373    373   } {}