diff options
author | drh <drh@noemail.net> | 2017-06-02 15:44:22 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2017-06-02 15:44:22 +0000 |
commit | 170ad68a409513c1398e8a61dd2dbb8f84f447e3 (patch) | |
tree | 8c1aa98028f0f26043f974b4399a3c15be4a2a1c /src/wherecode.c | |
parent | 6c2d94f928370c414613bb64cd0571c8590d21af (diff) | |
download | sqlite-170ad68a409513c1398e8a61dd2dbb8f84f447e3.tar.gz sqlite-170ad68a409513c1398e8a61dd2dbb8f84f447e3.zip |
Change the name of the OP_Seek opcode into OP_DeferredSeek for better
clarity of function. No functional code changes.
FossilOrigin-Name: ab33d299c7dab52703d06f3441c8a98c6c809b2612ec65d71aab2919bd2b1540
Diffstat (limited to 'src/wherecode.c')
-rw-r--r-- | src/wherecode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wherecode.c b/src/wherecode.c index feda45f91..7d1ea3859 100644 --- a/src/wherecode.c +++ b/src/wherecode.c @@ -966,10 +966,10 @@ static void codeCursorHint( ** ** Normally, this is just: ** -** OP_Seek $iCur $iRowid +** OP_DeferredSeek $iCur $iRowid ** ** However, if the scan currently being coded is a branch of an OR-loop and -** the statement currently being coded is a SELECT, then P3 of the OP_Seek +** the statement currently being coded is a SELECT, then P3 of OP_DeferredSeek ** is set to iIdxCur and P4 is set to point to an array of integers ** containing one entry for each column of the table cursor iCur is open ** on. For each table column, if the column is the i'th column of the @@ -988,7 +988,7 @@ static void codeDeferredSeek( assert( iIdxCur>0 ); assert( pIdx->aiColumn[pIdx->nColumn-1]==-1 ); - sqlite3VdbeAddOp3(v, OP_Seek, iIdxCur, 0, iCur); + sqlite3VdbeAddOp3(v, OP_DeferredSeek, iIdxCur, 0, iCur); if( (pWInfo->wctrlFlags & WHERE_OR_SUBCLAUSE) && DbMaskAllZero(sqlite3ParseToplevel(pParse)->writeMask) ){ |