/ Check-in [17122c7e]
Login

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

Overview
Comment:Final preparations for the 3.1.0 alpha release. (CVS 2255)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 17122c7e8e9cae36f1ffa7b42bd69d702980ac6a
User & Date: drh 2005-01-21 15:52:33
Context
2005-01-21
17:03
Update change log for version 3.1.0. (CVS 2256) check-in: 4d9b8587 user: drh tags: trunk
15:52
Final preparations for the 3.1.0 alpha release. (CVS 2255) check-in: 17122c7e user: drh tags: trunk
11:55
Improve test coverage for minimum feature builds. (CVS 2254) check-in: 9c4d0e13 user: danielk1977 tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to VERSION.

     1         -3.0.8
            1  +3.1.0alpha

Changes to test/attach.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.  The
    12     12   # focus of this script is testing the ATTACH and DETACH commands
    13     13   # and related functionality.
    14     14   #
    15         -# $Id: attach.test,v 1.34 2005/01/21 11:55:27 danielk1977 Exp $
           15  +# $Id: attach.test,v 1.35 2005/01/21 15:52:33 drh Exp $
    16     16   #
    17     17   
    18     18   set testdir [file dirname $argv0]
    19     19   source $testdir/tester.tcl
    20     20   
    21     21   for {set i 2} {$i<=15} {incr i} {
    22     22     file delete -force test$i.db
................................................................................
   683    683   # Check the error message if we try to access a database that has
   684    684   # not been attached.
   685    685   do_test attach-6.3 {
   686    686     catchsql {
   687    687       CREATE TABLE no_such_db.t1(a, b, c);
   688    688     }
   689    689   } {1 {unknown database no_such_db}}
   690         -do_test attach-6.4 {
   691         -  catchsql {
   692         -    CREATE TEMP TABLE db2.temp1(a, b, c);
   693         -  }
   694         -} {1 {temporary table name must be unqualified}}
   695         -
          690  +ifcapable !compound {
          691  +  do_test attach-6.4 {
          692  +    catchsql {
          693  +      CREATE TEMP TABLE db2.temp1(a, b, c);
          694  +    }
          695  +  } {1 {temporary table name must be unqualified}}
          696  +}
   696    697   for {set i 2} {$i<=15} {incr i} {
   697    698     catch {db$i close}
   698    699   }
   699    700   db close
   700    701   file delete -force test2.db
   701    702   file delete -force no-such-file
   702    703   
   703    704   
   704    705   finish_test

Changes to test/join.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 joins, including outer joins.
    14     14   #
    15         -# $Id: join.test,v 1.17 2005/01/21 04:25:47 danielk1977 Exp $
           15  +# $Id: join.test,v 1.18 2005/01/21 15:52:33 drh Exp $
    16     16   
    17     17   set testdir [file dirname $argv0]
    18     18   source $testdir/tester.tcl
    19     19   
    20     20   do_test join-1.1 {
    21     21     execsql {
    22     22       CREATE TABLE t1(a,b,c);
................................................................................
   410    410       INSERT INTO t13 VALUES(22,222);
   411    411       COMMIT;
   412    412     }
   413    413   } {}
   414    414   
   415    415   ifcapable subquery {
   416    416     do_test join-9.1.1 {
   417         -    SELECT * FROM t12 NATURAL LEFT JOIN t13
          417  +    execsql {
          418  +      SELECT * FROM t12 NATURAL LEFT JOIN t13
   418    419         EXCEPT
   419    420         SELECT * FROM t12 NATURAL LEFT JOIN (SELECT * FROM t13 WHERE b>0);
          421  +    }
   420    422     } {}
   421    423   }
   422    424   ifcapable view {
   423    425     do_test join-9.2 {
   424    426       execsql {
   425    427         CREATE VIEW v13 AS SELECT * FROM t13 WHERE b>0;
   426    428         SELECT * FROM t12 NATURAL LEFT JOIN t13

Changes to test/trigger2.test.

   349    349     DROP TABLE log;
   350    350   }
   351    351   
   352    352   # trigger2-3.2: WHEN clause
   353    353   set when_triggers [list {t1 BEFORE INSERT ON tbl WHEN new.a > 20}]
   354    354   ifcapable subquery {
   355    355     lappend when_triggers \
   356         -      {t2 BEFORE INSERT ON tbl WHEN (SELECT count(*) FROM tbl) = 0} ]
          356  +      {t2 BEFORE INSERT ON tbl WHEN (SELECT count(*) FROM tbl) = 0}
   357    357   }
   358    358   
   359    359   execsql {
   360    360     CREATE TABLE tbl (a, b, c, d);
   361    361     CREATE TABLE log (a);
   362    362     INSERT INTO log VALUES (0);
   363    363   }

Changes to tool/mkkeywordhash.c.

     3      3   ** implements a function that will translate alphabetic identifiers into
     4      4   ** parser token codes.
     5      5   */
     6      6   #include <stdio.h>
     7      7   #include <string.h>
     8      8   #include <stdlib.h>
     9      9   
           10  +/*
           11  +** Cursor support is off by default.
           12  +*/
           13  +#if !defined(SQLITE_ENABLE_CURSOR) && !defined(SQLITE_OMIT_CURSOR)
           14  +# define SQLITE_OMIT_CURSOR 1
           15  +#endif
           16  +
    10     17   /*
    11     18   ** All the keywords of the SQL language are stored as in a hash
    12     19   ** table composed of instances of the following structure.
    13     20   */
    14     21   typedef struct Keyword Keyword;
    15     22   struct Keyword {
    16     23     char *zName;         /* The keyword name */