Do not allow temporary registers to be in use across an OP_Yield within a

co-routine.  Fix for ticket [8c63ff0eca81a9132d8].

FossilOrigin-Name: 97a8c9733cba97c78e979dfd5c66610c23e90288
This commit is contained in:
drh
2014-02-25 21:55:16 +00:00
parent e8c1eba9a9
commit 0baa035a1e
5 changed files with 61 additions and 13 deletions
-1
View File
@@ -2358,7 +2358,6 @@ struct Parse {
u8 checkSchema; /* Causes schema cookie check after an error */
u8 nested; /* Number of nested calls to the parser/code generator */
u8 nTempReg; /* Number of temporary registers in aTempReg[] */
u8 nTempInUse; /* Number of aTempReg[] currently checked out */
u8 nColCache; /* Number of entries in aColCache[] */
u8 iColCache; /* Next entry in aColCache[] to replace */
u8 isMultiWrite; /* True if statement may modify/insert multiple rows */