1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Minor fixes and documentation improvements for sqlite3_stmt_scanstatus().

FossilOrigin-Name: 8d8cc9608d30bb65fffcfe488e904411cbbc7f41
This commit is contained in:
dan
2014-11-01 18:08:04 +00:00
parent 04489b6dce
commit 89e71646df
7 changed files with 200 additions and 31 deletions

View File

@@ -3889,6 +3889,7 @@ case OP_NotExists: { /* jump, in3 */
res = 0;
iKey = pIn3->u.i;
rc = sqlite3BtreeMovetoUnpacked(pCrsr, 0, iKey, 0, &res);
IncrementExplainCounter(pC, nLoop);
pC->movetoTarget = iKey; /* Used by OP_Delete */
pC->nullRow = 0;
pC->cacheStatus = CACHE_STALE;
@@ -3896,6 +3897,8 @@ case OP_NotExists: { /* jump, in3 */
VdbeBranchTaken(res!=0,2);
if( res!=0 ){
pc = pOp->p2 - 1;
}else{
IncrementExplainCounter(pC, nVisit);
}
pC->seekResult = res;
break;