sqlite: patch performance regression
more info: https://sqlite.org/src/info/aa6bd6dff751223e https://lore.kernel.org/distributions/87wn35bod7.fsf@gentoo.org/T/
This commit is contained in:
parent
f63b537cdd
commit
9802ddbba7
|
@ -0,0 +1,19 @@
|
|||
Patch-Source: https://sqlite.org/src/info/aa6bd6dff751223e
|
||||
https://sqlite.org/forum/forumpost/3a180ba0d4
|
||||
|
||||
Can be removed in 3.42.x
|
||||
|
||||
diff --git a/sqlite3.c b/sqlite3.c
|
||||
index 947a154..bf9ce16 100644
|
||||
--- a/sqlite3.c
|
||||
+++ b/sqlite3.c
|
||||
@@ -143420,9 +143420,6 @@ static int pushDownWhereTerms(
|
||||
if( pSel->pWin ) return 0; /* restriction (6b) */
|
||||
#endif
|
||||
}
|
||||
- if( compoundHasDifferentAffinities(pSubq) ){
|
||||
- return 0; /* restriction (9) */
|
||||
- }
|
||||
if( notUnionAll ){
|
||||
/* If any of the compound arms are connected using UNION, INTERSECT,
|
||||
** or EXCEPT, then we must ensure that none of the columns use a
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'sqlite'
|
||||
pkgname=sqlite
|
||||
version=3.41.2
|
||||
revision=1
|
||||
revision=2
|
||||
_amalgamationver=$(printf "%d%02d%02d00\n" ${version//./ })
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-threadsafe --enable-dynamic-extensions --enable-fts5"
|
||||
|
|
Loading…
Reference in New Issue