]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Prepare for the release of version 3.3.0. (CVS 2913)
authordrh <drh@noemail.net>
Wed, 11 Jan 2006 01:08:34 +0000 (01:08 +0000)
committerdrh <drh@noemail.net>
Wed, 11 Jan 2006 01:08:34 +0000 (01:08 +0000)
FossilOrigin-Name: 302993ae16750c56fd1418531ba716cff53d2df0

VERSION
manifest
manifest.uuid
test/all.test
test/manydb.test
test/shared.test
www/changes.tcl
www/faq.tcl
www/formatchng.tcl
www/index.tcl

diff --git a/VERSION b/VERSION
index 406ebcbd95f04b8562402f9a4a43e04e816086e4..15a279981720791464e46ab21ae96b3c1c65c3b6 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-3.2.7
+3.3.0
index 96ce5eac42753170369637088b2abdf621d37f93..aecbe93900825465a1ce2e15d7efb11d8ff5fcb0 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,9 +1,9 @@
-C Fix\sa\stypo\sin\sthe\sFAQ.\s(CVS\s2912)
-D 2006-01-10T23:00:42
+C Prepare\sfor\sthe\srelease\sof\sversion\s3.3.0.\s(CVS\s2913)
+D 2006-01-11T01:08:34
 F Makefile.in ab3ffd8d469cef4477257169b82810030a6bb967
 F Makefile.linux-gcc aee18d8a05546dcf1888bd4547e442008a49a092
 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
-F VERSION b818cce180263e590a00ad4509a713892c3eecea
+F VERSION 1baada7465ebb7e855da5e7e02542273019f4333
 F aclocal.m4 7daea4c35e88de30d5a3f6f7a2ab99720e803bbd
 F addopcodes.awk 701697fae48376375ec8532c3d04e910cfeef352
 F art/2005osaward.gif 0d1851b2a7c1c9d0ccce545f3e14bca42d7fd248
@@ -96,7 +96,7 @@ F src/vdbefifo.c 9efb94c8c3f4c979ebd0028219483f88e57584f5
 F src/vdbemem.c 2ada7cae76da9c840cd0d3c01d2b3987d97141c6
 F src/where.c 4fecfccf8f35ec7b325d666f0cd2fb016a53da43
 F tclinstaller.tcl 046e3624671962dc50f0481d7c25b38ef803eb42
-F test/all.test 90cf64bb655e3d474b0dda04e63ece03e36b0ce2
+F test/all.test a23fcbbf1f53515bde840d78732a6d94c673b327
 F test/alter.test b94b640063e725d062b2997bd2810ac39195c718
 F test/alter2.test cc0b8832e4e98605dbc26910efd4bb89abe59cb2
 F test/alter3.test 6e144ea3dcc395afcc28e794bb532be83dc8fdcb
@@ -191,7 +191,7 @@ F test/malloc2.test e6e321db96d6c94cb18bf82ad7215070c41e624e
 F test/malloc3.test 265644c655497242f7c0a1bb5b36c8500a5fc27c
 F test/malloc4.test 2e29d155eb4b4808019ef47eeedfcbe9e09e0f05
 F test/malloc5.test 1bac8c0dd98c387460920c1190f0996c5c62ea66
-F test/manydb.test d81debbf5871242e3b5df1d3bb5e14c50431b6f8
+F test/manydb.test 8de36b8d33aab5ef295b11d9e95310aeded31af8
 F test/memdb.test 1860e060be810bf0775bc57408a5b7c4954bcaea
 F test/memleak.test df2b2b96e77f8ba159a332299535b1e5f18e49ac
 F test/minmax.test cad887abca5504396718e2cd5729ca40758743e8
@@ -225,7 +225,7 @@ F test/select5.test 07a90ab3c7e3f0a241a9cdea1d997b2c8a89ff0b
 F test/select6.test f459a19bdac0501c4d3eb1a4df4b7a76f1bb8ad4
 F test/select7.test 1bf795b948c133a15a2a5e99d3270e652ec58ce6
 F test/server1.test 9d2d5b17b537911214a7e2a2728ff4f6ff16319c
-F test/shared.test b375b17588568eb4080005167e7c717539f7574c
+F test/shared.test 2c0089652d936771ca7eeab51cc3c93a9e2dce36
 F test/sort.test 0e4456e729e5a92a625907c63dcdedfbe72c5dc5
 F test/subquery.test e6de53332c0301b3cfa34edc3f3cd5fa1e859efd
 F test/subselect.test 2d13fb7f450db3595adcdd24079a0dd1d2d6abc2
@@ -298,7 +298,7 @@ F www/autoinc.tcl b357f5ba954b046ee35392ce0f884a2fcfcdea06
 F www/c_interface.tcl b51b08591554c16a0c3ef718364a508ac25abc7e
 F www/capi3.tcl 7a7cc225fe02eb7ab861a6019b08baa0014409e1
 F www/capi3ref.tcl 3885ca3847f394db7aa035647f0ab1c140244042
-F www/changes.tcl 567069a3dc7d066f3687fe3697be62e6dd19e671
+F www/changes.tcl 661937260b6eac4af510e068f33f3ce7b3298ff6
 F www/common.tcl 14d121c28532ad20c3e349caa4db708b0b822083
 F www/compile.tcl 276546d7eb445add5a867193bbd80f6919a6b084
 F www/conflict.tcl cdd0f4b59b0ba6d61f67e6a38f3ae45853bacb30
@@ -312,12 +312,12 @@ F www/direct1b.gif 32b48b764244817b6b591898dc52a04299a7b8a7
 F www/docs.tcl 4e2d716f004cc4c4dae773206ed58f50d4468a87
 F www/download.tcl d56a1c30b1c3c18f62926a806179976eb133ce94
 F www/dynload.tcl 02eb8273aa78cfa9070dd4501dca937fb22b466c
-F www/faq.tcl 82edcb9861cdf283cb143a51bd7d36c167c22ea5
+F www/faq.tcl f048b67fb6f90f6e97bbbda226a41e11a906cf04
 F www/fileformat.tcl 900c95b9633abc3dcfc384d9ddd8eb4876793059
-F www/formatchng.tcl 053ddb73646701353a5b1c9ca6274d5900739b45
+F www/formatchng.tcl f4f5f32205c0a70d07784f7bf9ce33ed34bfcbf3
 F www/fullscanb.gif f7c94cb227f060511f8909e10f570157263e9a25
 F www/index-ex1-x-b.gif f9b1d85c3fa2435cf38b15970c7e3aa1edae23a3
-F www/index.tcl 2217d1c755d3d4a421729135d1fd431fc0d7d67d
+F www/index.tcl f84bf390bd272035934639748c89730f3d60dc44
 F www/indirect1b1.gif adfca361d2df59e34f9c5cac52a670c2bfc303a1
 F www/lang.tcl 6f81b2726dc350ba5dc0dd6dcddb9e7a307b9976
 F www/lockingv3.tcl f59b19d6c8920a931f096699d6faaf61c05db55f
@@ -340,7 +340,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl a99cf5f6d8bd4d5537584a2b342f0fb9fa601d8b
 F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513
-P 25db22b6711590214f4f953e6e3cf6be2d7451db
-R d48a4c648f0220e653566c58ebdc11a0
+P 5be03a361d9292ccdf311372be6add29ade4dd04
+R 60fc801cbd9b41024c075c90268ee8a3
 U drh
-Z 99149940f874e469da65b843b8bd5846
+Z e83beb38a64ea7c5c2bbe383411f4d11
index 3bd36ae3611e24439cacae68c1f03c3355d23df2..71570b62129fb7a13ab01f441db3d6bcad09c03c 100644 (file)
@@ -1 +1 @@
-5be03a361d9292ccdf311372be6add29ade4dd04
\ No newline at end of file
+302993ae16750c56fd1418531ba716cff53d2df0
\ No newline at end of file
index e150e87c1039e033679ebfc49fc746980225c556..1d295ffa97e1f60325137d8465ac9623276816dd 100644 (file)
@@ -10,7 +10,7 @@
 #***********************************************************************
 # This file runs all tests.
 #
-# $Id: all.test,v 1.33 2006/01/05 13:48:29 danielk1977 Exp $
+# $Id: all.test,v 1.34 2006/01/11 01:08:34 drh Exp $
 
 set testdir [file dirname $argv0]
 source $testdir/tester.tcl
@@ -58,6 +58,12 @@ set EXCLUDE {
   memleak.test
 }
 
+# Files to include in the test.  If this list is empty then everything
+# that is not in the EXCLUDE list is run.
+#
+set INCLUDE {
+}
+
 # Test files btree2.test and btree4.test don't work if the 
 # SQLITE_DEFAULT_AUTOVACUUM macro is defined to true (because they depend
 # on tables being allocated starting at page 2).
@@ -76,6 +82,7 @@ for {set Counter 0} {$Counter<$COUNT && $nErr==0} {incr Counter} {
   foreach testfile [lsort -dictionary [glob $testdir/*.test]] {
     set tail [file tail $testfile]
     if {[lsearch -exact $EXCLUDE $tail]>=0} continue
+    if {[llength $INCLUDE]>0 && [lsearch -exact $INCLUDE $tail]<0} continue
     source $testfile
     catch {db close}
     if {$sqlite_open_file_count>0} {
index ce9b7efe001dd62050d95d034abe74071e45acac..9af5465b5466f1b60b8fdcf4236b40dc076efeec 100644 (file)
@@ -13,7 +13,7 @@
 # This file implements tests the ability of the library to open
 # many different databases at the same time without leaking memory.
 #
-# $Id: manydb.test,v 1.2 2005/11/25 10:55:58 danielk1977 Exp $
+# $Id: manydb.test,v 1.3 2006/01/11 01:08:34 drh Exp $
 
 set testdir [file dirname $argv0]
 source $testdir/tester.tcl
@@ -23,6 +23,7 @@ set N 300
 # First test how many file descriptors are available for use. To open a
 # database for writing SQLite requires 3 file descriptors (the database, the
 # journal and the directory).
+set filehandles {}
 catch {
   for {set i 0} {$i<($N * 3)} {incr i} {
     lappend filehandles [open testfile.1 w]
index 37f85ac5659e4d88a11050628f3bace65eb59cc8..8323d4b3d4f2e90ba3baa9feb051175293cfcc40 100644 (file)
@@ -9,7 +9,7 @@
 #
 #***********************************************************************
 #
-# $Id: shared.test,v 1.9 2006/01/10 12:31:41 danielk1977 Exp $
+# $Id: shared.test,v 1.10 2006/01/11 01:08:34 drh Exp $
 
 set testdir [file dirname $argv0]
 source $testdir/tester.tcl
@@ -485,6 +485,7 @@ do_test shared-7.1 {
     CREATE TABLE t1(a PRIMARY KEY, b);
     CREATE TABLE t2(a PRIMARY KEY, b);
   }
+  set ::contents {}
   for {set i 0} {$i < 100} {incr i} {
     set a [string repeat "$i " 20]
     set b [string repeat "$i " 20]
@@ -547,6 +548,7 @@ do_test shared-7.2 {
 
 catch {db close}
 catch {db2 close}
+unset -nocomplain contents
 
 #--------------------------------------------------------------------------
 # The following tests try to trick the shared-cache code into assuming
@@ -660,4 +662,3 @@ do_test shared-9.3 {
 
 finish_test
 sqlite3_enable_shared_cache $::enable_shared_cache
-
index c240b5f3fff81b29b290b9154fd2ffbf837cd42a..ef67a22df3ad40a4bf1a64087eba322e8f7bd6cf 100644 (file)
@@ -25,18 +25,22 @@ proc chng {date desc} {
   puts "<DD><P><UL>$desc</UL></P></DD>"
 }
 
-chng {2006 January ? (3.3.0)} {
+chng {2006 January 10 (3.3.0 alpha)} {
 <li>CHECK constraints</li>
 <li>IF EXISTS and IF NOT EXISTS clauses on CREATE/DROP TABLE/INDEX.</li>
 <li>DESC indices</li>
 <li>More efficient encoding of boolean values resulting in smaller database
 files</li>
-<li>More aggressive SQLITE_OMIT_FLOATING_POINT<li>
+<li>More aggressive SQLITE_OMIT_FLOATING_POINT</li>
 <li>Separate INTEGER and REAL affinity</li>
-<li>Add a virtual function layer for the OS interface</li>
+<li>Added a virtual function layer for the OS interface</li>
 <li>"exists" method added to the TCL interface</li>
 <li>Improved response to out-of-memory errors</li>
-<li>Database cached shared between connections in the same thread</li>
+<li>Database cache can be optionally shared between connections
+in the same thread</li>
+<li>Optional READ UNCOMMITTED isolation (instead of the default
+isolation level of SERIALIZABLE) and table level locking when
+database connections share a common cache.</li>
 }
 
 chng {2005 December 19 (3.2.8)} {
index 1c9907c8888c7375a1794f43284fab52542047b6..f41e006c82b1a26d40ab32710ca662e8df1add51 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Run this script to generated a faq.html output file
 #
-set rcsid {$Id: faq.tcl,v 1.32 2006/01/10 23:00:42 drh Exp $}
+set rcsid {$Id: faq.tcl,v 1.33 2006/01/11 01:08:34 drh Exp $}
 source common.tcl
 header {SQLite Frequently Asked Questions</title>}
 
@@ -202,9 +202,15 @@ faq {
   You cannot open a
   database in one thread then pass the handle off to another thread for
   it to use.  This is due to limitations (bugs?) in many common threading
-  implementations such as on RedHat9.  There may be ways to work around
-  these limitations, but they are complex and exceedingly difficult to
-  test for correctness.  For that reason, SQLite currently takes the safe
+  implementations such as on RedHat9.  Specifically, an fcntl() lock
+  created by one thread cannot be removed or modified by a different
+  thread on the troublesome systems.  And since SQLite uses fcntl()
+  locks heavily for concurrency control, serious problems arise if you 
+  start moving database connections across threads.</p>
+
+  <p>There may be ways to work around the fcntl() lock problems in Linux,
+  but they are complex and exceedingly difficult to test for correctness.
+  For that reason, SQLite currently takes the safe
   approach and disallows the sharing of handles among threads.</p>
 
   <p>Under UNIX, you should not carry an open SQLite database across
index d46f2f6f4968711db509de9e50b0943db7c71aeb..72151f26f315e9722d38ebbe77ecd5e7c95727a8 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Run this Tcl script to generate the formatchng.html file.
 #
-set rcsid {$Id: formatchng.tcl,v 1.14 2005/03/23 01:05:14 drh Exp $ }
+set rcsid {$Id: formatchng.tcl,v 1.15 2006/01/11 01:08:34 drh Exp $ }
 source common.tcl
 header {File Format Changes in SQLite}
 puts {
@@ -211,6 +211,16 @@ occurred since version 1.0.0:
   SQLite versions.</p>
   </td>
 </tr>
+<tr>
+  <td valign="top">3.2.8 to 3.3.0</td>
+  <td valign="top">2006-Jan-10</td>
+  <td><p>Version 3.3.0 uses a new encoding for binary values that
+  uses less disk space.  Version 3.3.0 can read and write database
+  files created by prior versions of SQLite.  But prior versions
+  of SQLite will not be able to read or write databases created
+  by Version 3.3.0</p>
+  </td>
+</tr>
 </table>
 </blockquote>
 
index 872964d326a3c1dea10599a4e767f9e70e47a07c..37c05fd63280df91d20f21e45fa209ae6dc4129d 100644 (file)
@@ -66,6 +66,21 @@ proc newsitem {date title text} {
   puts "<hr width=\"50%\">"
 }
 
+newsitem {2006-Jan-10} {Version 3.3.0 alpha} {
+  Version 3.3.0 adds support for CHECK constraints, DESC indices,
+  separate REAL and INTEGER column affinities, a new OS interface layer
+  design, and many other changes.  The code passed a regression
+  test but should still be considered alpha.  Please report any
+  problems.
+
+  The file format for version 3.3.0 has changed slightly in order provide
+  a more efficient encoding of binary values.  SQLite 3.3.0 will read and
+  write legacy databases created with any prior version of SQLite 3.  But
+  databases created by version 3.3.0 will not be readable or writable
+  by earlier versions of the SQLite.  The older file format can be
+  specified at compile-time for those rare cases where it is needed.
+}
+
 newsitem {2005-Dec-19} {Versions 3.2.8 and 2.8.17} {
   These versions contain one-line changes to 3.2.7 and 2.8.16 to fix a bug
   that has been present since March of 2002 and version 2.4.0.
@@ -120,4 +135,4 @@ puts {
 <p align="right"><a href="oldnews.html">Old news...</a></p>
 </td></tr></table>
 }
-footer {$Id: index.tcl,v 1.128 2005/12/19 17:53:36 drh Exp $}
+footer {$Id: index.tcl,v 1.129 2006/01/11 01:08:34 drh Exp $}