pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Aug  2 16:14:59 UTC 2017

Modified Files:
        pkgsrc/databases/sqlite3: Makefile.version PLIST distinfo
        pkgsrc/devel/lemon: distinfo

Log Message:
Release 3.20.0:

1. Update the text of error messages returned by sqlite3_errmsg() for some error codes.
2. Add new pointer passing interfaces.
3. Backwards-incompatible changes to some extensions in order to take advantage of the improved security offered by the new pointer passing interfaces:
  a. Extending FTS5 → requires sqlite3_bind_pointer() to find the fts5_api pointer.
  b. carray(PTR,N) → requires sqlite3_bind_pointer() to set the PTR parameter.
  c. remember(V,PTR) → requires sqlite3_bind_pointer() to set the PTR parameter.
4. Added the SQLITE_STMT virtual table extension.
5. Added the COMPLETION extension - designed to suggest tab-completions for interactive user interfaces. This is a work in progress. Expect further enhancements in future releases.
6. Added the UNION virtual table extension.
7. The built-in date and time functions have been enhanced so that they can be used in CHECK constraints, in indexes on expressions, and in the WHERE clauses of partial indexes, provided that they do 
not use the 'now', 'localtime', or 'utc' keywords. Futher information.
8. Added the sqlite3_prepare_v3() and sqlite3_prepare16_v3() interfaces with the extra "prepFlags" parameters.
9. Provide the SQLITE_PREPARE_PERSISTENT flag for sqlite3_prepare_v3() and use it to limit lookaside memory misuse by FTS3, FTS5, and the R-Tree extension.
10. Added the PRAGMA secure_delete=FAST command. When secure_delete is set to FAST, old content is overwritten with zeros as long as that does not increase the amount of I/O. Deleted content might 
still persist on the free-page list but will be purged from all b-tree pages.
11. Enhancements to the command-line shell:
  a. Add support for tab-completion using the COMPLETION extension, for both readline and linenoise.
  b. Add the ".cd" command.
  c. Enhance the ".schema" command to show the schema of all attached databases.
  d. Enhance ".tables" so that it shows the schema names for all attached if the name is anything other than "main".
  e. The ".import" command ignores an initial UTF-8 BOM.
  f. Added the "--newlines" option to the ".dump" command to cause U+000a and U+000d characters to be output literally rather than escaped using the replace() function.
12. Query planner enhancements:
  a. When generating individual loops for each ORed term of an OR scan, move any constant WHERE expressions outside of the loop, as is done for top-level loops.
  b. The query planner examines the values of bound parameters to help determine if a partial index is usable.
  c. When deciding between two plans with the same estimated cost, bias the selection toward the one that does not use the sorter.
  d. Evaluate WHERE clause constraints involving correlated subqueries last, in the hope that they never have be evaluated at all.
  e. Do not use the flattening optimization for a sub-query on the RHS of a LEFT JOIN if that subquery reads data from a virtual table as doing so prevents the query planner from creating automatic 
indexes on the results of the sub-query, which can slow down the query.
13. Add SQLITE_STMTSTATUS_REPREPARE, SQLITE_STMTSTATUS_RUN, and SQLITE_STMTSTATUS_MEMUSED options for the sqlite3_stmt_status() interface.
14. Provide PRAGMA functions for PRAGMA integrity_check, PRAGMA quick_check, and PRAGMA foreign_key_check.
15. Add the -withoutnulls option to the TCL interface eval method.
16. Enhance the sqlite3_analyzer.exe utility program so that it shows the number of bytes of metadata on btree pages.
17. The SQLITE_DBCONFIG_ENABLE_QPSG run-time option and the SQLITE_ENABLE_QPSG compile-time option enable the query planner stability guarantee. See also ticket 892fc34f173e99d8
18. Miscellaneous optimizations result in a 2% reduction in CPU cycles used.

Bug Fixes:

19. Fix the behavior of sqlite3_column_name() for queries that use the flattening optimization so that the result is consistent with other queries that do not use that optimization, and with 
PostgreSQL, MySQL, and SQLServer. Ticket de3403bf5ae.
20. Fix the query planner so that it knows not to use automatic indexes on the right table of LEFT JOIN if the WHERE clause uses the IS operator. Fix for ce68383bf6aba.
21. Ensure that the query planner knows that any column of a flattened LEFT JOIN can be NULL even if that column is labeled with "NOT NULL". Fix for ticket 892fc34f173e99d8.
22. Fix rare false-positives in PRAGMA integrity_check when run on a database connection with attached databases. Ticket a4e06e75a9ab61a12
23. Fix a bug (discovered by OSSFuzz) that causes an assertion fault if certain dodgy CREATE TABLE declarations are used.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/databases/sqlite3/Makefile.version
cvs rdiff -u -r1.5 -r1.6 pkgsrc/databases/sqlite3/PLIST
cvs rdiff -u -r1.136 -r1.137 pkgsrc/databases/sqlite3/distinfo
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/lemon/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/sqlite3/Makefile.version
diff -u pkgsrc/databases/sqlite3/Makefile.version:1.34 pkgsrc/databases/sqlite3/Makefile.version:1.35
--- pkgsrc/databases/sqlite3/Makefile.version:1.34      Sat Jun 10 19:13:59 2017
+++ pkgsrc/databases/sqlite3/Makefile.version   Wed Aug  2 16:14:58 2017
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile.version,v 1.34 2017/06/10 19:13:59 adam Exp $
+# $NetBSD: Makefile.version,v 1.35 2017/08/02 16:14:58 adam Exp $
 #
 # used by databases/sqlite3/Makefile
 # used by databases/sqlite3-docs/Makefile
 # used by databases/sqlite3-tcl/Makefile
 # used by devel/lemon/Makefile
 
-SQLITE3_DISTVERSION=   3190300
-SQLITE3_VERSION=       3.19.3
+SQLITE3_DISTVERSION=   3200000
+SQLITE3_VERSION=       3.20.0
 
 MASTER_SITES=  http://www.hwaci.com/sw/sqlite/2017/
 MASTER_SITES+= http://www.sqlite.org/2017/

Index: pkgsrc/databases/sqlite3/PLIST
diff -u pkgsrc/databases/sqlite3/PLIST:1.5 pkgsrc/databases/sqlite3/PLIST:1.6
--- pkgsrc/databases/sqlite3/PLIST:1.5  Wed May 24 19:41:03 2017
+++ pkgsrc/databases/sqlite3/PLIST      Wed Aug  2 16:14:58 2017
@@ -1,6 +1,5 @@
-@comment $NetBSD: PLIST,v 1.5 2017/05/24 19:41:03 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2017/08/02 16:14:58 adam Exp $
 bin/sqlite3
-include/msvc.h
 include/sqlite3.h
 include/sqlite3ext.h
 lib/libsqlite3.la

Index: pkgsrc/databases/sqlite3/distinfo
diff -u pkgsrc/databases/sqlite3/distinfo:1.136 pkgsrc/databases/sqlite3/distinfo:1.137
--- pkgsrc/databases/sqlite3/distinfo:1.136     Sat Jun 10 19:13:59 2017
+++ pkgsrc/databases/sqlite3/distinfo   Wed Aug  2 16:14:58 2017
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.136 2017/06/10 19:13:59 adam Exp $
+$NetBSD: distinfo,v 1.137 2017/08/02 16:14:58 adam Exp $
 
-SHA1 (sqlite-autoconf-3190300.tar.gz) = 58f2cabffb3ff4761a3ac7f834d9db7b46307c1f
-RMD160 (sqlite-autoconf-3190300.tar.gz) = 5e94df91f1c53ad9e8076a2fccf755a2cd7add0a
-SHA512 (sqlite-autoconf-3190300.tar.gz) = 7896c99726da75818f1027d5675b24724bc89c738874c868868e60c09d4509ad5a6da93f54cfcecb3a1052e4f164f7cb864ede333b9ccfb4f6b811b052ca1d3d
-Size (sqlite-autoconf-3190300.tar.gz) = 2542682 bytes
+SHA1 (sqlite-autoconf-3200000.tar.gz) = 2a451bcf42dc0865840463f7efc3f51cebeb4ea8
+RMD160 (sqlite-autoconf-3200000.tar.gz) = 5b5894d6431042b5559756e735c77eb9ac671344
+SHA512 (sqlite-autoconf-3200000.tar.gz) = f5b0ffcc27adeed5b27b29962d03defa167151868f2281c5642a8ddfa10ac8971aff22081a5b46bd36bcf664bd271975e80249ec403b73656658b33af084ec94
+Size (sqlite-autoconf-3200000.tar.gz) = 2565548 bytes

Index: pkgsrc/devel/lemon/distinfo
diff -u pkgsrc/devel/lemon/distinfo:1.12 pkgsrc/devel/lemon/distinfo:1.13
--- pkgsrc/devel/lemon/distinfo:1.12    Sat Jun 10 19:14:00 2017
+++ pkgsrc/devel/lemon/distinfo Wed Aug  2 16:14:58 2017
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.12 2017/06/10 19:14:00 adam Exp $
+$NetBSD: distinfo,v 1.13 2017/08/02 16:14:58 adam Exp $
 
-SHA1 (sqlite-src-3190300.zip) = 41ad08f1268fa35e0bd9715c33bf51dee81b7bfc
-RMD160 (sqlite-src-3190300.zip) = 9461230d8029ed202f544062e6af06c24da5f30c
-SHA512 (sqlite-src-3190300.zip) = 514c3de6346bdea359036a79c880133f0eeed4cdfc9e811d662dc343f91ea43edda0f9760405a48e7f61ea1dd3478980cc7d3b5409ef27adcb5311a06e36297e
-Size (sqlite-src-3190300.zip) = 10193997 bytes
+SHA1 (sqlite-src-3200000.zip) = f0463bd42d51052693b8ac7ff671ac7a0acf1215
+RMD160 (sqlite-src-3200000.zip) = cda8ee31a25a0bb241292fa06381687a99463370
+SHA512 (sqlite-src-3200000.zip) = 40fe7972902d041f012c7739c8712aa40069aebc7be680fde8f43b33fed885bfc42331bfb7200651486484edb71cbdd77ddb9c119d0847bdfb0e92063090f029
+Size (sqlite-src-3200000.zip) = 10575632 bytes



Home | Main Index | Thread Index | Old Index