pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc sqlite3: updated to 3.35.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1db31be10864
branches:  trunk
changeset: 448817:1db31be10864
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Mar 15 14:51:00 2021 +0000

description:
sqlite3: updated to 3.35.0

SQLite Release 3.35.0 On 2021-03-12

Added built-in SQL math functions(). (Requires the -DSQLITE_ENABLE_MATH_FUNCTIONS compile-time option.)
Added support for ALTER TABLE DROP COLUMN.
Generalize UPSERT:
Allow multiple ON CONFLICT clauses that are evaluated in order,
The final ON CONFLICT clause may omit the conflict target and yet still use DO UPDATE.
Add support for the RETURNING clause on DELETE, INSERT, and UPDATE statements.
Use less memory when running VACUUM on databases containing very large TEXT or BLOB values. It is no longer necessary to hold the entire TEXT or BLOB in memory all at once.
Add support for the MATERIALIZED and NOT MATERIALIZED hints when specifying common table expressions. The default behavior was formerly NOT MATERIALIZED, but is now changed to MATERIALIZED for CTEs 
that are used more than once.
The SQLITE_DBCONFIG_ENABLE_TRIGGER and SQLITE_DBCONFIG_ENABLE_VIEW settings are modified so that they only control triggers and views in the main database schema or in attached database schemas and 
not in the TEMP schema. TEMP triggers and views are always allowed.
Query planner/optimizer improvements:
Enhancements to the min/max optimization so that it works better with the IN operator and the OP_SeekScan optimization of the previous release.
Attempt to process EXISTS operators in the WHERE clause as if they were IN operators, in cases where this is a valid transformation and seems likely to improve performance.
Allow UNION ALL sub-queries to be flattened even if the parent query is a join.
Use an index, if appropriate, on IS NOT NULL expressions in the WHERE clause, even if STAT4 is disabled.
Expressions of the form "x IS NULL" or "x IS NOT NULL" might be converted to simply FALSE or TRUE, if "x" is a column that has a "NOT NULL" constraint and is not involved in an outer join.
Avoid checking foreign key constraints on an UPDATE statement if the UPDATE does not modify any columns associated with the foreign key.
Allow WHERE terms to be pushed down into sub-queries that contain window functions, as long as the WHERE term is made up of entirely of constants and copies of expressions found in the PARTITION BY 
clauses of all window functions in the sub-query.
CLI enhancements:
Enhance the ".stats" command to accept new arguments "stmt" and "vmstep", causing prepare statement statistics and only the virtual-machine step count to be shown, respectively.
Add the ".filectrl data_version" command.
Enhance the ".once" and ".output" commands so that if the destination argument begins with "|" (indicating that output is redirected into a pipe) then the argument does not need to be quoted.
Bug fixes:
Fix a potential NULL pointer dereference when processing a syntactically incorrect SELECT statement with a correlated WHERE clause and a "HAVING 0" clause. (Also fixed in the 3.34.1 patch release.)
Fix a bug in the IN-operator optimization of version 3.33.0 that can cause an incorrect answer.
Fix incorrect answers from the LIKE operator if the pattern ends with "%" and there is an "ESCAPE '_'" clause.

diffstat:

 databases/sqlite3-docs/PLIST      |   8 +++++++-
 databases/sqlite3-docs/distinfo   |  10 +++++-----
 databases/sqlite3-tcl/distinfo    |  10 +++++-----
 databases/sqlite3/Makefile        |   4 +++-
 databases/sqlite3/Makefile.common |   6 +++---
 databases/sqlite3/distinfo        |  11 ++++++-----
 devel/lemon/distinfo              |  10 +++++-----
 7 files changed, 34 insertions(+), 25 deletions(-)

diffs (152 lines):

diff -r c49c884c108b -r 1db31be10864 databases/sqlite3-docs/PLIST
--- a/databases/sqlite3-docs/PLIST      Mon Mar 15 14:23:12 2021 +0000
+++ b/databases/sqlite3-docs/PLIST      Mon Mar 15 14:51:00 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.97 2021/01/20 20:34:37 adam Exp $
+@comment $NetBSD: PLIST,v 1.98 2021/03/15 14:51:01 adam Exp $
 share/doc/sqlite3/34to35.html
 share/doc/sqlite3/35to36.html
 share/doc/sqlite3/about.html
@@ -497,9 +497,11 @@
 share/doc/sqlite3/lang_indexedby.html
 share/doc/sqlite3/lang_insert.html
 share/doc/sqlite3/lang_keywords.html
+share/doc/sqlite3/lang_mathfunc.html
 share/doc/sqlite3/lang_naming.html
 share/doc/sqlite3/lang_reindex.html
 share/doc/sqlite3/lang_replace.html
+share/doc/sqlite3/lang_returning.html
 share/doc/sqlite3/lang_savepoint.html
 share/doc/sqlite3/lang_select.html
 share/doc/sqlite3/lang_transaction.html
@@ -620,6 +622,7 @@
 share/doc/sqlite3/releaselog/3_33_0.html
 share/doc/sqlite3/releaselog/3_34_0.html
 share/doc/sqlite3/releaselog/3_34_1.html
+share/doc/sqlite3/releaselog/3_35_0.html
 share/doc/sqlite3/releaselog/3_3_0.html
 share/doc/sqlite3/releaselog/3_3_1.html
 share/doc/sqlite3/releaselog/3_3_10.html
@@ -801,6 +804,7 @@
 share/doc/sqlite3/session/sqlite3session_enable.html
 share/doc/sqlite3/session/sqlite3session_indirect.html
 share/doc/sqlite3/session/sqlite3session_isempty.html
+share/doc/sqlite3/session/sqlite3session_memory_used.html
 share/doc/sqlite3/session/sqlite3session_patchset.html
 share/doc/sqlite3/session/sqlite3session_table_filter.html
 share/doc/sqlite3/sessionintro.html
@@ -868,6 +872,7 @@
 share/doc/sqlite3/syntax/reindex-stmt.html
 share/doc/sqlite3/syntax/release-stmt.html
 share/doc/sqlite3/syntax/result-column.html
+share/doc/sqlite3/syntax/returning-clause.html
 share/doc/sqlite3/syntax/rollback-stmt.html
 share/doc/sqlite3/syntax/savepoint-stmt.html
 share/doc/sqlite3/syntax/select-core.html
@@ -900,6 +905,7 @@
 share/doc/sqlite3/unionvtab.html
 share/doc/sqlite3/unlock_notify.html
 share/doc/sqlite3/uri.html
+share/doc/sqlite3/useovernet.html
 share/doc/sqlite3/vdbe.html
 share/doc/sqlite3/version3.html
 share/doc/sqlite3/versionnumbers.html
diff -r c49c884c108b -r 1db31be10864 databases/sqlite3-docs/distinfo
--- a/databases/sqlite3-docs/distinfo   Mon Mar 15 14:23:12 2021 +0000
+++ b/databases/sqlite3-docs/distinfo   Mon Mar 15 14:51:00 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.98 2021/01/20 20:34:37 adam Exp $
+$NetBSD: distinfo,v 1.99 2021/03/15 14:51:01 adam Exp $
 
-SHA1 (sqlite-doc-3340100.zip) = 5abb2e1f4962f0c67ab40df18793e9de890db85e
-RMD160 (sqlite-doc-3340100.zip) = 74c2587052bb6e653c6c194aea26cd578422500d
-SHA512 (sqlite-doc-3340100.zip) = 20cbb9f05cd329bf7aa2877431781e46192544806042f4104e4eb0e87d84cd2dfc02c7ff226d4bef9bb2c6a69cc612201844d116abe99b0cfed9602adf243a60
-Size (sqlite-doc-3340100.zip) = 10074559 bytes
+SHA1 (sqlite-doc-3350000.zip) = c3fc9bace102890563b598f9837fca9e3d6cf660
+RMD160 (sqlite-doc-3350000.zip) = f609a065291dd61fc43726319181ab70fb7cdbe4
+SHA512 (sqlite-doc-3350000.zip) = f6b92cf1a087a97071c55605e85676c4d76b9435a1a433e4663ff3d7937557d72e4fb99931a14abda9ab3dece654da09d10f7ca2560ca3e0972e4b7690997132
+Size (sqlite-doc-3350000.zip) = 10165959 bytes
diff -r c49c884c108b -r 1db31be10864 databases/sqlite3-tcl/distinfo
--- a/databases/sqlite3-tcl/distinfo    Mon Mar 15 14:23:12 2021 +0000
+++ b/databases/sqlite3-tcl/distinfo    Mon Mar 15 14:51:00 2021 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.110 2021/01/20 20:34:37 adam Exp $
+$NetBSD: distinfo,v 1.111 2021/03/15 14:51:01 adam Exp $
 
-SHA1 (sqlite-autoconf-3340100.tar.gz) = c20286e11fe5c2e3712ce74890e1692417de6890
-RMD160 (sqlite-autoconf-3340100.tar.gz) = 6c2492feeb332df59843b7785d7ae47c39c57567
-SHA512 (sqlite-autoconf-3340100.tar.gz) = adaa306ebacfbeeea6efe71aa964b1dee4a05ade794c55c7afad8693ed291354e9daa2449226c4dc50fbfa5919dfc9a17dea946f01171ff63d472af78cbed987
-Size (sqlite-autoconf-3340100.tar.gz) = 2930089 bytes
+SHA1 (sqlite-autoconf-3350000.tar.gz) = 360b4356f6a80a4d2b14834629e387d0fa3aaa3b
+RMD160 (sqlite-autoconf-3350000.tar.gz) = 04fac4590a54e4f03ff0969b25777f360c17b7ac
+SHA512 (sqlite-autoconf-3350000.tar.gz) = cacc694082e3d3beae7726c1afcc9f0841737de47ffb6f945617e915656d4306d9d626ca6380eff795dc69ebb9555c1d41a7f5ee8e3e3a10914f9ac64989ce86
+Size (sqlite-autoconf-3350000.tar.gz) = 2955394 bytes
 SHA1 (patch-Makefile.in) = 6cbbc33a5bc9c98b5aa128279f8e21e47406f537
diff -r c49c884c108b -r 1db31be10864 databases/sqlite3/Makefile
--- a/databases/sqlite3/Makefile        Mon Mar 15 14:23:12 2021 +0000
+++ b/databases/sqlite3/Makefile        Mon Mar 15 14:51:00 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.138 2020/12/02 07:57:19 adam Exp $
+# $NetBSD: Makefile,v 1.139 2021/03/15 14:51:00 adam Exp $
 
 .include "Makefile.common"
 
@@ -32,6 +32,8 @@
 CFLAGS+=               -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_WITHOUT_ZONEMALLOC
 .endif
 
+CFLAGS+=               -DSQLITE_ENABLE_MATH_FUNCTIONS=1
+
 # This define includes the sqlite3_unlock_notify() API in the build.
 # It is required by Firefox 4.x.
 CFLAGS+=               -DSQLITE_ENABLE_UNLOCK_NOTIFY=1
diff -r c49c884c108b -r 1db31be10864 databases/sqlite3/Makefile.common
--- a/databases/sqlite3/Makefile.common Mon Mar 15 14:23:12 2021 +0000
+++ b/databases/sqlite3/Makefile.common Mon Mar 15 14:51:00 2021 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile.common,v 1.74 2021/01/20 20:34:37 adam Exp $
+# $NetBSD: Makefile.common,v 1.75 2021/03/15 14:51:00 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=   3340100
-SQLITE3_VERSION=       3.34.1
+SQLITE3_DISTVERSION=   3350000
+SQLITE3_VERSION=       3.35.0
 
 MASTER_SITES=  http://www.sqlite.org/2021/
 MASTER_SITES+= http://www.hwaci.com/sw/sqlite/2021/
diff -r c49c884c108b -r 1db31be10864 databases/sqlite3/distinfo
--- a/databases/sqlite3/distinfo        Mon Mar 15 14:23:12 2021 +0000
+++ b/databases/sqlite3/distinfo        Mon Mar 15 14:51:00 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.163 2021/01/20 20:34:37 adam Exp $
+$NetBSD: distinfo,v 1.164 2021/03/15 14:51:00 adam Exp $
 
-SHA1 (sqlite-autoconf-3340100.tar.gz) = c20286e11fe5c2e3712ce74890e1692417de6890
-RMD160 (sqlite-autoconf-3340100.tar.gz) = 6c2492feeb332df59843b7785d7ae47c39c57567
-SHA512 (sqlite-autoconf-3340100.tar.gz) = adaa306ebacfbeeea6efe71aa964b1dee4a05ade794c55c7afad8693ed291354e9daa2449226c4dc50fbfa5919dfc9a17dea946f01171ff63d472af78cbed987
-Size (sqlite-autoconf-3340100.tar.gz) = 2930089 bytes
+SHA1 (sqlite-autoconf-3350000.tar.gz) = 360b4356f6a80a4d2b14834629e387d0fa3aaa3b
+RMD160 (sqlite-autoconf-3350000.tar.gz) = 04fac4590a54e4f03ff0969b25777f360c17b7ac
+SHA512 (sqlite-autoconf-3350000.tar.gz) = cacc694082e3d3beae7726c1afcc9f0841737de47ffb6f945617e915656d4306d9d626ca6380eff795dc69ebb9555c1d41a7f5ee8e3e3a10914f9ac64989ce86
+Size (sqlite-autoconf-3350000.tar.gz) = 2955394 bytes
+SHA1 (patch-configure) = f9a2fc50f369aba6153ffe8a4cc059fe2bc33d69
diff -r c49c884c108b -r 1db31be10864 devel/lemon/distinfo
--- a/devel/lemon/distinfo      Mon Mar 15 14:23:12 2021 +0000
+++ b/devel/lemon/distinfo      Mon Mar 15 14:51:00 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.39 2021/01/20 20:34:37 adam Exp $
+$NetBSD: distinfo,v 1.40 2021/03/15 14:51:01 adam Exp $
 
-SHA1 (sqlite-src-3340100.zip) = 7bc3127488860a67b2437d46fdb8abfb46b36e7e
-RMD160 (sqlite-src-3340100.zip) = 0832ebb1d0e910a3f4701f2ceafa0c230a4e5290
-SHA512 (sqlite-src-3340100.zip) = 5ed02fe609b3d08c3297cc43b21e6ee3f56fb51a6616ac391a0e50cd1677dbad03c6bf9bf9c8409cf94b83b16fe6b6e4a112640b18c7d4fd95328066da3c3943
-Size (sqlite-src-3340100.zip) = 12623711 bytes
+SHA1 (sqlite-src-3350000.zip) = 9d08fe6275f0c58bd94709ce3735accf6b1e5397
+RMD160 (sqlite-src-3350000.zip) = 234ccfe9912ea1a19882f9dcf979a1daf6673fd7
+SHA512 (sqlite-src-3350000.zip) = 4b77d963092a6aed61b50e59450edf2af187f16b185b05ca54d81c3eecf71b1cb9bc2883a8aadeb971fcebe343fa430ea788aedb77e3712c8b39d4892c93a797
+Size (sqlite-src-3350000.zip) = 12814378 bytes



Home | Main Index | Thread Index | Old Index