/ Check-in [5944d51e]
Login

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

Overview
Comment:fulltest runs now, but still finds a memory leak. (CVS 2150)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5944d51e6c164270301b57e4351add4cb6137be6
User & Date: drh 2004-11-23 22:16:40
Context
2004-11-24
01:16
Fix a memory leak in pager.c. (CVS 2151) check-in: 0ad4ed87 user: drh tags: trunk
2004-11-23
22:16
fulltest runs now, but still finds a memory leak. (CVS 2150) check-in: 5944d51e user: drh tags: trunk
16:31
Fix a memory leak in ALTER TABLE. (CVS 2149) check-in: ba71716c user: danielk1977 tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/crash.test.

    16     16   # module "crashtest" compiled with the special "os_test.c" backend is used.
    17     17   # The os_test.c simulates the kind of file corruption that can occur
    18     18   # when writes are happening at the moment of power loss.
    19     19   # 
    20     20   # The special crash-test module with its os_test.c backend only works
    21     21   # on Unix.
    22     22   #
    23         -# $Id: crash.test,v 1.11 2004/11/08 09:51:09 danielk1977 Exp $
           23  +# $Id: crash.test,v 1.12 2004/11/23 22:16:40 drh Exp $
    24     24   
    25     25   set testdir [file dirname $argv0]
    26     26   source $testdir/tester.tcl
    27     27   
    28     28   # set repeats 100
    29     29   set repeats 10
    30     30   
................................................................................
   399    399       DROP TABLE abc;
   400    400     }
   401    401   } {1 {child process exited abnormally}}
   402    402   do_test crash-6.2 {
   403    403     signature
   404    404   } $sig
   405    405   
          406  +# The AUTOVACUUM was changed above.  We have to reset it for
          407  +# other scripts that run as part of "fulltest"
          408  +#
          409  +set AUTOVACUUM $sqlite_options(default_autovacuum)
          410  +
          411  +finish_test

Changes to test/table.test.

     7      7   #    May you find forgiveness for yourself and forgive others.
     8      8   #    May you share freely, never taking more than you give.
     9      9   #
    10     10   #***********************************************************************
    11     11   # This file implements regression tests for SQLite library.  The
    12     12   # focus of this file is testing the CREATE TABLE statement.
    13     13   #
    14         -# $Id: table.test,v 1.34 2004/11/23 09:06:56 danielk1977 Exp $
           14  +# $Id: table.test,v 1.35 2004/11/23 22:16:40 drh Exp $
    15     15   
    16     16   set testdir [file dirname $argv0]
    17     17   source $testdir/tester.tcl
    18     18   
    19     19   # Create a basic table and verify it is added to sqlite_master
    20     20   #
    21     21   do_test table-1.1 {
................................................................................
   566    566   # Test that a table cannot be created or dropped while other virtual
   567    567   # machines are active. This is required because otherwise when in 
   568    568   # auto-vacuum mode the btree-layer may need to move the root-pages of 
   569    569   # a table for which there is an open cursor.
   570    570   #
   571    571   
   572    572   # Try to create a table from within a callback:
          573  +unset -nocomplain result
   573    574   do_test table-14.1 {
   574    575     set rc [
   575    576       catch {
   576    577         db eval {SELECT * FROM tablet8 LIMIT 1} {} {
   577    578           db eval {CREATE TABLE t9(a, b, c)}
   578    579         }
   579    580       } msg
................................................................................
   644    645     for {set i 0} {$i<2000} {incr i} {
   645    646       execsql "DROP TABLE tbl$i"
   646    647     }
   647    648     execsql {COMMIT}
   648    649   } {}
   649    650   
   650    651   finish_test
   651         -