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

Remove unused variable from struct WhereInfo. Add some explanatory comments to new code.

FossilOrigin-Name: f5313e0c680d9baebefb1cf50ddadedd4418a334
This commit is contained in:
dan
2014-11-03 11:25:32 +00:00
parent 43764a8efb
commit 037b5324bd
9 changed files with 79 additions and 33 deletions

View File

@@ -1490,7 +1490,7 @@ int sqlite3_stmt_scanstatus(
const char **pzExplain /* OUT: EQP string */
){
Vdbe *p = (Vdbe*)pStmt;
ScanCounter *pScan;
ScanStatus *pScan;
if( idx<0 || idx>=p->nScan ) return 1;
pScan = &p->aScan[idx];
if( pnLoop ) *pnLoop = p->anExec[pScan->addrLoop];