SHA256
1
0
forked from pool/sqlite3

Accepting request 1123191 from home:jengelh:branches:server:database

- Update to release 3.44.0

OBS-URL: https://build.opensuse.org/request/show/1123191
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=321
This commit is contained in:
Reinhard Max 2023-11-07 12:45:51 +00:00 committed by Git OBS Bridge
parent e3d4d193d7
commit 89ae143f90
7 changed files with 48 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f510db2e95f27289d9d1906657f12c01f7da017a04097dbbc4bbbca18edf02d0
size 10681883

3
sqlite-doc-3440000.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3e3a2da6fa6f74a1c02292abe153677c6160aebffee4e9a710fb51437dbee541
size 10689348

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eb6651523f57a5c70f242fc16bc416b81ed02d592639bfb7e099f201e2f9a2d3
size 13929567

3
sqlite-src-3440000.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ab9aae38a11b931f35d8d1c6d62826d215579892e6ffbf89f20bdce106a9c8c5
size 14059695

View File

@ -1,19 +1,26 @@
--- ext/rtree/rtree1.test.orig
+++ ext/rtree/rtree1.test
@@ -774,6 +774,9 @@ do_execsql_test 21.1 {
# Round-off error associated with using large integer constraints on
# a rtree search.
---
ext/rtree/rtree1.test | 4 ++++
1 file changed, 4 insertions(+)
Index: sqlite-src-3440000/ext/rtree/rtree1.test
===================================================================
--- sqlite-src-3440000.orig/ext/rtree/rtree1.test
+++ sqlite-src-3440000/ext/rtree/rtree1.test
@@ -760,6 +760,9 @@ do_execsql_test 20.4 {
# Do not omit constraints that involve equality comparisons of
# floating-point values.
#
+if {![string match i*86 $tcl_platform(machine)]} {
+# It seems the fix wasn't sufficient for i[56]86, so the tests still
+# fail there and we disable them to fix build for now.
reset_db
do_execsql_test 22.0 {
CREATE VIRTUAL TABLE t1 USING rtree ( id, x0, x1 );
@@ -783,5 +786,6 @@ do_execsql_test 22.0 {
do_execsql_test 22.1 {
SELECT id, x0 > 9223372036854775807 AS 'a0' FROM t1;
} {123 1}
do_execsql_test 21.0 {
CREATE VIRTUAL TABLE t1 USING rtree(id, x0, x1);
@@ -785,6 +788,7 @@ if {$tcl_platform(machine)!="i686" || $t
SELECT id, x0 > 9223372036854775807 AS 'a0' FROM t1;
} {123 1}
}
+}
finish_test
# 2023-10-14 dbsqlfuzz --sql-fuzz find. rtreecheck() should not call
# BEGIN/COMMIT because that causes problems with statement transactions,

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Fri Nov 3 09:23:52 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.44.0
* Aggregate functions can now include an ORDER BY clause after
their last parameter. The arguments to the function are
processed in the order specified. This can be important for
functions like string_agg() and json_group_array().
* Add support for the concat() and concat_ws() scalar SQL
functions, compatible with PostgreSQL, SQLServer, and MySQL.
* Add support for the string_agg() aggregate SQL function,
compatible with PostgreSQL and SQLServer.
* New conversion letters on the strftime() SQL function: %e %F
%I %k %l %p %P %R %T %u
* Add new C-language APIs: sqlite3_get_clientdata() and
sqlite3_set_clientdata().
* Many errors associated with CREATE TABLE are now raised when
the CREATE TABLE statement itself is run, rather than being
deferred until the first time the table is actually used.
-------------------------------------------------------------------
Thu Oct 19 13:08:35 UTC 2023 - Reinhard Max <max@suse.com>

View File

@ -17,11 +17,11 @@
%define oname sqlite
%define tarversion 3430200
%define tarversion 3440000
%bcond_with icu
%bcond_without check
Name: sqlite3
Version: 3.43.2
Version: 3.44.0
Release: 0
Summary: Embeddable SQL Database Engine
License: SUSE-Public-Domain
@ -128,8 +128,7 @@ other documentation found on sqlite.org. The files can be found in
%{_docdir}/%{name}-doc.
%prep
%setup -q -n sqlite-src-%{tarversion} -a2
%patch0
%autosetup -p1 -n sqlite-src-%{tarversion} -a2
rm -v sqlite-doc-%{tarversion}/releaselog/current.html
ln -sv `echo %{version} | sed "s/\./_/g"`.html sqlite-doc-%{tarversion}/releaselog/current.html