Accepting request 986303 from home:AndreasStieger:branches:server:database
- add sqlite-src-3390000-func7-pg-181.patch to skip float precision related test failures on 32 bit OBS-URL: https://build.opensuse.org/request/show/986303 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=287
This commit is contained in:
parent
38c80b0039
commit
8c683ec588
28
sqlite-src-3390000-func7-pg-181.patch
Normal file
28
sqlite-src-3390000-func7-pg-181.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
From: Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||||
|
Subject: [PATCH] skip float precision related test failures on 32 bit
|
||||||
|
Date: Fri, 01 Jul 2022 21:12:29 +0000
|
||||||
|
Upstream: no
|
||||||
|
|
||||||
|
Introduced by: https://sqlite.org/src/info/c48a735bd4a1dbd5
|
||||||
|
Upstream thread: https://sqlite.org/forum/forumpost/dd4767885a
|
||||||
|
|
||||||
|
[ 642s] ! func7-pg-181 expected: [2.000000000000000000000000000000]
|
||||||
|
[ 642s] ! func7-pg-181 got: [1.999999999999999000000000000000]
|
||||||
|
|
||||||
|
Index: sqlite-src-3390000/test/func7.test
|
||||||
|
===================================================================
|
||||||
|
--- sqlite-src-3390000.orig/test/func7.test
|
||||||
|
+++ sqlite-src-3390000/test/func7.test
|
||||||
|
@@ -60,12 +60,6 @@ do_execsql_test func7-pg-170 {
|
||||||
|
do_execsql_test func7-pg-180 {
|
||||||
|
SELECT log10(1000.0)
|
||||||
|
} {3.0}
|
||||||
|
-do_execsql_test func7-pg-181 {
|
||||||
|
- SELECT format('%.30f', log10(100.0) );
|
||||||
|
-} {2.000000000000000000000000000000}
|
||||||
|
-do_execsql_test func7-pg-182 {
|
||||||
|
- SELECT format('%.30f', ln(exp(2.0)) );
|
||||||
|
-} {2.000000000000000000000000000000}
|
||||||
|
do_execsql_test func7-pg-190 {
|
||||||
|
SELECT log(2.0, 64.0)
|
||||||
|
} {6.0}
|
@ -1,5 +1,5 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 1 19:31:59 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
Fri Jul 1 21:10:07 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
- update to 3.39.0:
|
- update to 3.39.0:
|
||||||
* Add (long overdue) support for RIGHT and FULL OUTER JOIN
|
* Add (long overdue) support for RIGHT and FULL OUTER JOIN
|
||||||
@ -22,6 +22,8 @@ Fri Jul 1 19:31:59 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
|||||||
* Many microoptimizations collectively reduce CPU cycles by about
|
* Many microoptimizations collectively reduce CPU cycles by about
|
||||||
2.3%.
|
2.3%.
|
||||||
- drop sqlite-src-3380100-atof1.patch, included upstream
|
- drop sqlite-src-3380100-atof1.patch, included upstream
|
||||||
|
- add sqlite-src-3390000-func7-pg-181.patch to skip float precision
|
||||||
|
related test failures on 32 bit
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun May 8 10:00:51 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
Sun May 8 10:00:51 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
@ -30,6 +30,7 @@ URL: https://www.sqlite.org/
|
|||||||
Source0: https://www.sqlite.org/2022/sqlite-src-%{tarversion}.zip
|
Source0: https://www.sqlite.org/2022/sqlite-src-%{tarversion}.zip
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
Source2: https://www.sqlite.org/2022/sqlite-doc-%{tarversion}.zip
|
Source2: https://www.sqlite.org/2022/sqlite-doc-%{tarversion}.zip
|
||||||
|
Patch0: sqlite-src-3390000-func7-pg-181.patch
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@ -127,6 +128,7 @@ other documentation found on sqlite.org. The files can be found in
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n sqlite-src-%{tarversion} -a2
|
%setup -q -n sqlite-src-%{tarversion} -a2
|
||||||
|
%autopatch -p1
|
||||||
|
|
||||||
rm -v sqlite-doc-%{tarversion}/releaselog/current.html
|
rm -v sqlite-doc-%{tarversion}/releaselog/current.html
|
||||||
ln -sv `echo %{version} | sed "s/\./_/g"`.html sqlite-doc-%{tarversion}/releaselog/current.html
|
ln -sv `echo %{version} | sed "s/\./_/g"`.html sqlite-doc-%{tarversion}/releaselog/current.html
|
||||||
|
Loading…
Reference in New Issue
Block a user