/ Check-in [a2c9c45c]
Login

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

Overview
Comment:Fix a problem in the pragma.test script. (CVS 2041)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:a2c9c45c803350f45911a72eb61efa9c3089f8ca
User & Date: drh 2004-11-02 18:15:49
Context
2004-11-03
03:01
Fix an auto-vacuum bug that occurs when a btree cell is promoted to the parent page during a delete. (CVS 2043) check-in: b7d953e1 user: danielk1977 tags: trunk
2004-11-02
18:15
Fix a problem in the pragma.test script. (CVS 2041) check-in: a2c9c45c user: drh tags: trunk
18:05
Get btree.c to compile with -DNDEBUG=1. (CVS 2040) check-in: 8378c144 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/pragma.test.

     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.
    12     12   #
    13     13   # This file implements tests for the PRAGMA command.
    14     14   #
    15         -# $Id: pragma.test,v 1.17 2004/07/24 17:38:30 drh Exp $
           15  +# $Id: pragma.test,v 1.18 2004/11/02 18:15:49 drh 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   # pragma-1.*: Test cache_size, default_cache_size and synchronous on main db.
................................................................................
   307    307   #
   308    308   do_test pragma-6.1 {
   309    309     set res {}
   310    310     foreach {idx name file} [execsql {pragma database_list}] {
   311    311       lappend res $idx $name
   312    312     }
   313    313     set res
   314         -} {0 main 1 temp 2 aux}
          314  +} {0 main 2 aux}
   315    315   do_test pragma-6.2 {
   316    316     execsql {
   317    317       pragma table_info(t2)
   318    318     }
   319    319   } {0 a numeric 0 {} 0 1 b numeric 0 {} 0 2 c numeric 0 {} 0}
   320    320   do_test pragma-6.3 {
   321    321     execsql {