Sun Aug 17 08:16:06 2014 UTC ()
Changes 3.8.6:
Added support for hexadecimal integer literals in the SQL parser. (Ex: 0x123abc)
Enhanced the PRAGMA integrity_check command to detect UNIQUE and NOT NULL constraint violations.
Increase the maximum value of SQLITE_MAX_ATTACHED from 62 to 125.
Increase the timeout in WAL mode before issuing an SQLITE_PROTOCOL error from 1 second to 10 seconds.
Added the likely(X) SQL function.
The unicode61 tokenizer is now included in FTS4 by default.
Trigger automatic reprepares on all prepared statements when ANALYZE is run.
Added a new loadable extension source code file to the source tree: fileio.c
Add extension functions readfile(X) and writefile(X,Y) (using code copy/pasted from fileio.c in the previous bullet) to the command-line shell.
Added the .fullschema dot-command to the command-line shell.

Performance Enhancements:
-------------------------
Deactivate the DISTINCT keyword on subqueries on the right-hand side of the IN operator.
Add the capability of evaluating an IN operator as a sequence of comparisons as an alternative to using a table lookup. Use the sequence of comparisons implementation in circumstances where it is likely to be faster, such as when the right-hand side of the IN operator is small and/or changes frequently.
The query planner now uses sqlite_stat4 information (created by ANALYZE) to help determine if the skip-scan optimization is appropriate.
Ensure that the query planner never tries to use a self-made transient index in place of a schema-defined index.
Other minor tweaks to improve the quality of VDBE code.

Bug Fixes:
----------
Fix a bug in CREATE UNIQUE INDEX, introduced when WITHOUT ROWID support added in version 3.8.2, that allows a non-unique NOT NULL column to be given a UNIQUE index.
Fix a bug in R-Tree extension, introduced in the previous release, that can cause an incorrect results for queries that use the rowid of the R-Tree on the left-hand side of an IN operator.
Fix the sqlite3_stmt_busy() interface so that it gives the correct answer for ROLLBACK statements that have been stepped but never reset.
Fix a bug in that would cause a null pointer to be dereferenced if a column with a DEFAULT that is an aggregate function tried to usee its DEFAULT.
CSV output from the command-line shell now always uses CRNL for the row separator and avoids inserting CR in front of NLs contained in data.
Fix a column affinity problem with the IN operator.
Fix the ANALYZE command so that it adds correct samples for WITHOUT ROWID tables in the sqlite_stat4 table.


(adam)
diff -r1.81 -r1.82 pkgsrc/databases/sqlite3/Makefile
diff -r1.91 -r1.92 pkgsrc/databases/sqlite3/distinfo
diff -r1.31 -r1.32 pkgsrc/databases/sqlite3-docs/Makefile
diff -r1.29 -r1.30 pkgsrc/databases/sqlite3-docs/PLIST
diff -r1.29 -r1.30 pkgsrc/databases/sqlite3-docs/distinfo
diff -r1.61 -r1.62 pkgsrc/databases/sqlite3-tcl/Makefile
diff -r1.42 -r1.43 pkgsrc/databases/sqlite3-tcl/distinfo

cvs diff -r1.81 -r1.82 pkgsrc/databases/sqlite3/Makefile (expand / switch to unified diff)

--- pkgsrc/databases/sqlite3/Makefile 2014/08/07 15:36:11 1.81
+++ pkgsrc/databases/sqlite3/Makefile 2014/08/17 08:16:06 1.82
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.81 2014/08/07 15:36:11 wiz Exp $ 1# $NetBSD: Makefile,v 1.82 2014/08/17 08:16:06 adam Exp $
2 2
3DISTNAME= sqlite-autoconf-3080500 3DISTNAME= sqlite-autoconf-3080600
4PKGNAME= sqlite3-3.8.5 4PKGNAME= sqlite3-3.8.6
5CATEGORIES= databases 5CATEGORIES= databases
6MASTER_SITES= http://www.hwaci.com/sw/sqlite/2014/ \ 6MASTER_SITES= http://www.hwaci.com/sw/sqlite/2014/ \
7 http://www.sqlite.org/2014/ 7 http://www.sqlite.org/2014/
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://www.sqlite.org/ 10HOMEPAGE= http://www.sqlite.org/
11COMMENT= SQL Database Engine in a C Library 11COMMENT= SQL Database Engine in a C Library
12LICENSE= public-domain 12LICENSE= public-domain
13 13
14.include "options.mk" 14.include "options.mk"
15 15
16USE_LIBTOOL= yes 16USE_LIBTOOL= yes
17USE_TOOLS+= gmake 17USE_TOOLS+= gmake

cvs diff -r1.91 -r1.92 pkgsrc/databases/sqlite3/distinfo (expand / switch to unified diff)

--- pkgsrc/databases/sqlite3/distinfo 2014/07/19 18:36:36 1.91
+++ pkgsrc/databases/sqlite3/distinfo 2014/08/17 08:16:06 1.92
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.91 2014/07/19 18:36:36 mspo Exp $ 1$NetBSD: distinfo,v 1.92 2014/08/17 08:16:06 adam Exp $
2 2
3SHA1 (sqlite-autoconf-3080500.tar.gz) = 7f667e10ccebc26ab2086b8a30cb0a600ca0acae 3SHA1 (sqlite-autoconf-3080600.tar.gz) = c4b2911bc4a6e1dc2b411aa21d8c4f524113eb64
4RMD160 (sqlite-autoconf-3080500.tar.gz) = b8da5ec594ac808da85469349c7506bd343946bf 4RMD160 (sqlite-autoconf-3080600.tar.gz) = 31a5c239174e4cf74fd0e9cf4324fa0e6282aaab
5Size (sqlite-autoconf-3080500.tar.gz) = 1957050 bytes 5Size (sqlite-autoconf-3080600.tar.gz) = 1968379 bytes

cvs diff -r1.31 -r1.32 pkgsrc/databases/sqlite3-docs/Makefile (expand / switch to unified diff)

--- pkgsrc/databases/sqlite3-docs/Makefile 2014/06/05 15:10:20 1.31
+++ pkgsrc/databases/sqlite3-docs/Makefile 2014/08/17 08:16:06 1.32
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.31 2014/06/05 15:10:20 adam Exp $ 1# $NetBSD: Makefile,v 1.32 2014/08/17 08:16:06 adam Exp $
2 2
3DISTNAME= sqlite-doc-3080500 3DISTNAME= sqlite-doc-3080600
4PKGNAME= sqlite3-docs-3.8.5 4PKGNAME= sqlite3-docs-3.8.6
5CATEGORIES= databases 5CATEGORIES= databases
6MASTER_SITES= http://www.hwaci.com/sw/sqlite/2014/ \ 6MASTER_SITES= http://www.hwaci.com/sw/sqlite/2014/ \
7 http://www.sqlite.org/2014/ 7 http://www.sqlite.org/2014/
8EXTRACT_SUFX= .zip 8EXTRACT_SUFX= .zip
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://sqlite.org/ 11HOMEPAGE= http://sqlite.org/
12COMMENT= SQL Database Engine in a C Library (docs package) 12COMMENT= SQL Database Engine in a C Library (docs package)
13# "Portions of the documentation and some code used as part of the 13# "Portions of the documentation and some code used as part of the
14# build process might fall under other licenses. We do not worry 14# build process might fall under other licenses. We do not worry
15# about the licensing of the documentation and build code so much 15# about the licensing of the documentation and build code so much
16# because none of these things are part of the core deliverable SQLite 16# because none of these things are part of the core deliverable SQLite
17# library." 17# library."

cvs diff -r1.29 -r1.30 pkgsrc/databases/sqlite3-docs/PLIST (expand / switch to unified diff)

--- pkgsrc/databases/sqlite3-docs/PLIST 2014/06/05 15:10:20 1.29
+++ pkgsrc/databases/sqlite3-docs/PLIST 2014/08/17 08:16:06 1.30
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.29 2014/06/05 15:10:20 adam Exp $ 1@comment $NetBSD: PLIST,v 1.30 2014/08/17 08:16:06 adam Exp $
2share/doc/sqlite3/34to35.html 2share/doc/sqlite3/34to35.html
3share/doc/sqlite3/35to36.html 3share/doc/sqlite3/35to36.html
4share/doc/sqlite3/about.html 4share/doc/sqlite3/about.html
5share/doc/sqlite3/amalgamation.html 5share/doc/sqlite3/amalgamation.html
6share/doc/sqlite3/appfileformat.html 6share/doc/sqlite3/appfileformat.html
7share/doc/sqlite3/arch.html 7share/doc/sqlite3/arch.html
8share/doc/sqlite3/asyncvfs.html 8share/doc/sqlite3/asyncvfs.html
9share/doc/sqlite3/atomiccommit.html 9share/doc/sqlite3/atomiccommit.html
10share/doc/sqlite3/autoinc.html 10share/doc/sqlite3/autoinc.html
11share/doc/sqlite3/backup.html 11share/doc/sqlite3/backup.html
12share/doc/sqlite3/books.html 12share/doc/sqlite3/books.html
13share/doc/sqlite3/btreemodule.html 13share/doc/sqlite3/btreemodule.html
14share/doc/sqlite3/c3ref/aggregate_context.html 14share/doc/sqlite3/c3ref/aggregate_context.html
@@ -235,26 +235,27 @@ share/doc/sqlite3/images/ac/multi-2.gif @@ -235,26 +235,27 @@ share/doc/sqlite3/images/ac/multi-2.gif
235share/doc/sqlite3/images/ac/multi-3.gif 235share/doc/sqlite3/images/ac/multi-3.gif
236share/doc/sqlite3/images/ac/multi-4.gif 236share/doc/sqlite3/images/ac/multi-4.gif
237share/doc/sqlite3/images/ac/multi-5.gif 237share/doc/sqlite3/images/ac/multi-5.gif
238share/doc/sqlite3/images/ac/rollback-0.gif 238share/doc/sqlite3/images/ac/rollback-0.gif
239share/doc/sqlite3/images/ac/rollback-1.gif 239share/doc/sqlite3/images/ac/rollback-1.gif
240share/doc/sqlite3/images/ac/rollback-2.gif 240share/doc/sqlite3/images/ac/rollback-2.gif
241share/doc/sqlite3/images/ac/rollback-3.gif 241share/doc/sqlite3/images/ac/rollback-3.gif
242share/doc/sqlite3/images/ac/rollback-4.gif 242share/doc/sqlite3/images/ac/rollback-4.gif
243share/doc/sqlite3/images/ac/rollback-5.gif 243share/doc/sqlite3/images/ac/rollback-5.gif
244share/doc/sqlite3/images/apple-touch-icon.png 244share/doc/sqlite3/images/apple-touch-icon.png
245share/doc/sqlite3/images/arch.gif 245share/doc/sqlite3/images/arch.gif
246share/doc/sqlite3/images/arch.png 246share/doc/sqlite3/images/arch.png
247share/doc/sqlite3/images/arch2.gif 247share/doc/sqlite3/images/arch2.gif
 248share/doc/sqlite3/images/books/das.jpg
248share/doc/sqlite3/images/books/droessler.jpg 249share/doc/sqlite3/images/books/droessler.jpg
249share/doc/sqlite3/images/books/haldar.gif 250share/doc/sqlite3/images/books/haldar.gif
250share/doc/sqlite3/images/books/kreibich.gif 251share/doc/sqlite3/images/books/kreibich.gif
251share/doc/sqlite3/images/books/newman.jpg 252share/doc/sqlite3/images/books/newman.jpg
252share/doc/sqlite3/images/books/nishizawa2.jpg 253share/doc/sqlite3/images/books/nishizawa2.jpg
253share/doc/sqlite3/images/books/owens.jpg 254share/doc/sqlite3/images/books/owens.jpg
254share/doc/sqlite3/images/books/symbiansql.jpg 255share/doc/sqlite3/images/books/symbiansql.jpg
255share/doc/sqlite3/images/books/vanderLans.jpg 256share/doc/sqlite3/images/books/vanderLans.jpg
256share/doc/sqlite3/images/btreemodule_balance_deeper.svg 257share/doc/sqlite3/images/btreemodule_balance_deeper.svg
257share/doc/sqlite3/images/btreemodule_balance_quick.svg 258share/doc/sqlite3/images/btreemodule_balance_quick.svg
258share/doc/sqlite3/images/btreemodule_balance_shallower.svg 259share/doc/sqlite3/images/btreemodule_balance_shallower.svg
259share/doc/sqlite3/images/btreemodule_delete1.svg 260share/doc/sqlite3/images/btreemodule_delete1.svg
260share/doc/sqlite3/images/btreemodule_overview.svg 261share/doc/sqlite3/images/btreemodule_overview.svg
@@ -610,28 +611,30 @@ share/doc/sqlite3/releaselog/3_7_8.html @@ -610,28 +611,30 @@ share/doc/sqlite3/releaselog/3_7_8.html
610share/doc/sqlite3/releaselog/3_7_9.html 611share/doc/sqlite3/releaselog/3_7_9.html
611share/doc/sqlite3/releaselog/3_8_0.html 612share/doc/sqlite3/releaselog/3_8_0.html
612share/doc/sqlite3/releaselog/3_8_0_1.html 613share/doc/sqlite3/releaselog/3_8_0_1.html
613share/doc/sqlite3/releaselog/3_8_0_2.html 614share/doc/sqlite3/releaselog/3_8_0_2.html
614share/doc/sqlite3/releaselog/3_8_1.html 615share/doc/sqlite3/releaselog/3_8_1.html
615share/doc/sqlite3/releaselog/3_8_2.html 616share/doc/sqlite3/releaselog/3_8_2.html
616share/doc/sqlite3/releaselog/3_8_3.html 617share/doc/sqlite3/releaselog/3_8_3.html
617share/doc/sqlite3/releaselog/3_8_3_1.html 618share/doc/sqlite3/releaselog/3_8_3_1.html
618share/doc/sqlite3/releaselog/3_8_4.html 619share/doc/sqlite3/releaselog/3_8_4.html
619share/doc/sqlite3/releaselog/3_8_4_1.html 620share/doc/sqlite3/releaselog/3_8_4_1.html
620share/doc/sqlite3/releaselog/3_8_4_2.html 621share/doc/sqlite3/releaselog/3_8_4_2.html
621share/doc/sqlite3/releaselog/3_8_4_3.html 622share/doc/sqlite3/releaselog/3_8_4_3.html
622share/doc/sqlite3/releaselog/3_8_5.html 623share/doc/sqlite3/releaselog/3_8_5.html
 624share/doc/sqlite3/releaselog/3_8_6.html
623share/doc/sqlite3/releaselog/current.html 625share/doc/sqlite3/releaselog/current.html
624share/doc/sqlite3/requirements.html 626share/doc/sqlite3/requirements.html
 627share/doc/sqlite3/rescode.html
625share/doc/sqlite3/robots.txt 628share/doc/sqlite3/robots.txt
626share/doc/sqlite3/rtree.html 629share/doc/sqlite3/rtree.html
627share/doc/sqlite3/selfcontained.html 630share/doc/sqlite3/selfcontained.html
628share/doc/sqlite3/serverless.html 631share/doc/sqlite3/serverless.html
629share/doc/sqlite3/session.html 632share/doc/sqlite3/session.html
630share/doc/sqlite3/session/constlist.html 633share/doc/sqlite3/session/constlist.html
631share/doc/sqlite3/session/funclist.html 634share/doc/sqlite3/session/funclist.html
632share/doc/sqlite3/session/intro.html 635share/doc/sqlite3/session/intro.html
633share/doc/sqlite3/session/objlist.html 636share/doc/sqlite3/session/objlist.html
634share/doc/sqlite3/sharedcache.html 637share/doc/sqlite3/sharedcache.html
635share/doc/sqlite3/shortnames.html 638share/doc/sqlite3/shortnames.html
636share/doc/sqlite3/sitemap.html 639share/doc/sqlite3/sitemap.html
637share/doc/sqlite3/speed.html 640share/doc/sqlite3/speed.html

cvs diff -r1.29 -r1.30 pkgsrc/databases/sqlite3-docs/distinfo (expand / switch to unified diff)

--- pkgsrc/databases/sqlite3-docs/distinfo 2014/06/05 15:10:20 1.29
+++ pkgsrc/databases/sqlite3-docs/distinfo 2014/08/17 08:16:06 1.30
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.29 2014/06/05 15:10:20 adam Exp $ 1$NetBSD: distinfo,v 1.30 2014/08/17 08:16:06 adam Exp $
2 2
3SHA1 (sqlite-doc-3080500.zip) = c5655a4004095c50dc8403661e0ed02fd4191d57 3SHA1 (sqlite-doc-3080600.zip) = 8c3d3a9f97b10fb43d6fce61079ed1ab93472913
4RMD160 (sqlite-doc-3080500.zip) = eb17f2bc94b3253f64080cc983946b54e1a05872 4RMD160 (sqlite-doc-3080600.zip) = daf74c6bdb1775eb349220bdab45d236c77e31d0
5Size (sqlite-doc-3080500.zip) = 4446454 bytes 5Size (sqlite-doc-3080600.zip) = 4736026 bytes

cvs diff -r1.61 -r1.62 pkgsrc/databases/sqlite3-tcl/Makefile (expand / switch to unified diff)

--- pkgsrc/databases/sqlite3-tcl/Makefile 2014/06/05 15:10:20 1.61
+++ pkgsrc/databases/sqlite3-tcl/Makefile 2014/08/17 08:16:06 1.62
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.61 2014/06/05 15:10:20 adam Exp $ 1# $NetBSD: Makefile,v 1.62 2014/08/17 08:16:06 adam Exp $
2 2
3DISTNAME= sqlite-autoconf-3080500 3DISTNAME= sqlite-autoconf-3080600
4PKGNAME= sqlite3-tcl-3.8.5 4PKGNAME= sqlite3-tcl-3.8.6
5CATEGORIES= databases 5CATEGORIES= databases
6MASTER_SITES= http://www.hwaci.com/sw/sqlite/2014/ \ 6MASTER_SITES= http://www.hwaci.com/sw/sqlite/2014/ \
7 http://www.sqlite.org/2014/ 7 http://www.sqlite.org/2014/
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://www.sqlite.org/ 10HOMEPAGE= http://www.sqlite.org/
11COMMENT= SQL Database Engine in a C Library (TCL extension) 11COMMENT= SQL Database Engine in a C Library (TCL extension)
12LICENSE= public-domain 12LICENSE= public-domain
13 13
14WRKSRC= ${WRKDIR}/${DISTNAME}/tea 14WRKSRC= ${WRKDIR}/${DISTNAME}/tea
15 15
16USE_TOOLS+= gmake 16USE_TOOLS+= gmake
17GNU_CONFIGURE= yes 17GNU_CONFIGURE= yes

cvs diff -r1.42 -r1.43 pkgsrc/databases/sqlite3-tcl/distinfo (expand / switch to unified diff)

--- pkgsrc/databases/sqlite3-tcl/distinfo 2014/06/05 15:10:20 1.42
+++ pkgsrc/databases/sqlite3-tcl/distinfo 2014/08/17 08:16:06 1.43
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.42 2014/06/05 15:10:20 adam Exp $ 1$NetBSD: distinfo,v 1.43 2014/08/17 08:16:06 adam Exp $
2 2
3SHA1 (sqlite-autoconf-3080500.tar.gz) = 7f667e10ccebc26ab2086b8a30cb0a600ca0acae 3SHA1 (sqlite-autoconf-3080600.tar.gz) = c4b2911bc4a6e1dc2b411aa21d8c4f524113eb64
4RMD160 (sqlite-autoconf-3080500.tar.gz) = b8da5ec594ac808da85469349c7506bd343946bf 4RMD160 (sqlite-autoconf-3080600.tar.gz) = 31a5c239174e4cf74fd0e9cf4324fa0e6282aaab
5Size (sqlite-autoconf-3080500.tar.gz) = 1957050 bytes 5Size (sqlite-autoconf-3080600.tar.gz) = 1968379 bytes
6SHA1 (patch-aa) = 4a12a16498d04e1031dc0802fda731b73e98a32d 6SHA1 (patch-aa) = 4a12a16498d04e1031dc0802fda731b73e98a32d