mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-15 11:41:13 +03:00
Merge enhancements and bug fixes from trunk.
FossilOrigin-Name: 9fb646f29c05bca5f677a2c7c4f45c36bfe0a0c6a88cb7968b4a0459bdd63bb2
This commit is contained in:
@@ -566,7 +566,7 @@ static int codeEqualityTerm(
|
||||
|
||||
pLoop->wsFlags |= WHERE_IN_ABLE;
|
||||
if( pLevel->u.in.nIn==0 ){
|
||||
pLevel->addrNxt = sqlite3VdbeMakeLabel(v);
|
||||
pLevel->addrNxt = sqlite3VdbeMakeLabel(pParse);
|
||||
}
|
||||
|
||||
i = pLevel->u.in.nIn;
|
||||
@@ -1208,8 +1208,8 @@ Bitmask sqlite3WhereCodeOneLoopStart(
|
||||
** there are no IN operators in the constraints, the "addrNxt" label
|
||||
** is the same as "addrBrk".
|
||||
*/
|
||||
addrBrk = pLevel->addrBrk = pLevel->addrNxt = sqlite3VdbeMakeLabel(v);
|
||||
addrCont = pLevel->addrCont = sqlite3VdbeMakeLabel(v);
|
||||
addrBrk = pLevel->addrBrk = pLevel->addrNxt = sqlite3VdbeMakeLabel(pParse);
|
||||
addrCont = pLevel->addrCont = sqlite3VdbeMakeLabel(pParse);
|
||||
|
||||
/* If this is the right table of a LEFT OUTER JOIN, allocate and
|
||||
** initialize a memory cell that records if this table matches any
|
||||
@@ -1832,7 +1832,7 @@ Bitmask sqlite3WhereCodeOneLoopStart(
|
||||
int regReturn = ++pParse->nMem; /* Register used with OP_Gosub */
|
||||
int regRowset = 0; /* Register for RowSet object */
|
||||
int regRowid = 0; /* Register holding rowid */
|
||||
int iLoopBody = sqlite3VdbeMakeLabel(v); /* Start of loop body */
|
||||
int iLoopBody = sqlite3VdbeMakeLabel(pParse);/* Start of loop body */
|
||||
int iRetInit; /* Address of regReturn init */
|
||||
int untestedTerms = 0; /* Some terms not completely tested */
|
||||
int ii; /* Loop counter */
|
||||
|
||||
Reference in New Issue
Block a user