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

Test case and fix for the specific failure of ticket [b351d95f9cd5ef17e9d9dbae].

FossilOrigin-Name: 57789cfe674dbbd4d5e4663774d1e7c541f7bdc4
This commit is contained in:
drh
2010-09-28 04:14:03 +00:00
parent 7153d1fb6e
commit 8b1db07f4e
4 changed files with 63 additions and 10 deletions

View File

@@ -2774,6 +2774,11 @@ int sqlite3ExprCodeTarget(Parse *pParse, Expr *pExpr, int target){
opCompare.op = TK_EQ;
opCompare.pLeft = &cacheX;
pTest = &opCompare;
/* Ticket b351d95f9cd5ef17e9d9dbae18f5ca8611190001:
** The value in regFree1 might get SCopy-ed into the file result.
** So make sure that the regFree1 register is not reused for other
** purposes and possibly overwritten. */
regFree1 = 0;
}
for(i=0; i<nExpr; i=i+2){
sqlite3ExprCachePush(pParse);