1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-18 10:21:03 +03:00

Update an assert() in wherecode.c that might fail following an unrelated SQL error.

FossilOrigin-Name: 3e2c36a8272ab3c1777638c0ed8222e7ff04657fe1c40f74a63b99a5a90258cc
This commit is contained in:
dan
2021-05-26 14:32:33 +00:00
parent 137b8ebb2b
commit 151446e793
4 changed files with 22 additions and 9 deletions

View File

@@ -1122,7 +1122,7 @@ static void codeExprOrVector(Parse *pParse, Expr *p, int iReg, int nReg){
}
}
}else{
assert( nReg==1 );
assert( nReg==1 || pParse->nErr );
sqlite3ExprCode(pParse, p, iReg);
}
}