1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Remove an ALWAYS() added by [960a8e6fc91f4] that turns out to be false

in some cases of malformed SQL.

FossilOrigin-Name: cc8171461bf35f584888a24b844c8b79ad30155b19b61161e9f3abc276e8aae5
This commit is contained in:
drh
2025-07-04 11:48:11 +00:00
parent bd05edd98f
commit a12e92d2f7
3 changed files with 9 additions and 10 deletions

View File

@@ -1697,7 +1697,7 @@ void SQLITE_NOINLINE sqlite3WhereAddLimit(WhereClause *pWC, Select *p){
WhereTerm *pParent = &pWC->a[ pWC->a[ii].iParent ];
if( pParent->leftCursor==iCsr
&& pParent->prereqRight==0
&& ALWAYS(pParent->nChild==1)
&& pParent->nChild==1
){
continue;
}