mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Fix some issues with vector range constraints and the column cache. Also vector range constraints and rowid columns.
FossilOrigin-Name: 42607366bfc2dceb1013797a973b3b8df75dcb4d
This commit is contained in:
@@ -411,6 +411,7 @@ static void codeVectorCompare(Parse *pParse, Expr *pExpr, int dest){
|
||||
Expr *pL, *pR;
|
||||
int r1, r2;
|
||||
|
||||
if( i ) sqlite3ExprCachePush(pParse);
|
||||
if( regLeft ){
|
||||
pL = pLeft->x.pSelect->pEList->a[i].pExpr;
|
||||
r1 = regLeft+i;
|
||||
@@ -431,6 +432,7 @@ static void codeVectorCompare(Parse *pParse, Expr *pExpr, int dest){
|
||||
sqlite3VdbeAddOp3(v, opTest, dest, addr, p3);
|
||||
sqlite3ReleaseTempReg(pParse, regFree1);
|
||||
sqlite3ReleaseTempReg(pParse, regFree2);
|
||||
if( i ) sqlite3ExprCachePop(pParse);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user