This repository has been archived by the owner on May 20, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3.35.1-2: add a workaround for https://www.sqlite.org/forum/forumpost…
…/1061e627d0 git-svn-id: file:///srv/repos/svn-packages/svn@410106 eb2447ed-0c53-47e4-bac8-5bc4a241df78
- Loading branch information
heftig
authored and
svntogit
committed
Mar 16, 2021
1 parent
4780338
commit bf1cc8b
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
src/select.c | 3 +++ | ||
1 file changed, 3 insertions(+) | ||
|
||
diff --git c/src/select.c i/src/select.c | ||
index beb5c1e3b..00b709652 100644 | ||
--- c/src/select.c | ||
+++ i/src/select.c | ||
@@ -4003,6 +4003,9 @@ static int flattenSubquery( | ||
** queries. | ||
*/ | ||
if( pSub->pPrior ){ | ||
+ if( pSrc->nSrc!=1 ){ | ||
+ return 0; /* workaround https://www.sqlite.org/forum/forumpost/1061e627d0 */ | ||
+ } | ||
if( pSub->pOrderBy ){ | ||
return 0; /* Restriction (20) */ | ||
} |