Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix code coverage problems in where.c. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
b04a52824971e8880e4bf0d9862db4ee |
User & Date: | drh 2010-04-08 17:28:01.000 |
Context
2010-04-08
| ||
17:35 | Fix a typo in a comment. No changes to code. (check-in: 332cb55113 user: drh tags: trunk) | |
17:28 | Fix code coverage problems in where.c. (check-in: b04a528249 user: drh tags: trunk) | |
16:30 | Additional automatic index tests. (check-in: 99d8e325e9 user: drh tags: trunk) | |
Changes
Changes to src/where.c.
︙ | ︙ | |||
4346 4347 4348 4349 4350 4351 4352 | && pTab->pSelect==0 && (pWInfo->wctrlFlags & WHERE_OMIT_CLOSE)==0 ){ int ws = pLevel->plan.wsFlags; if( !pWInfo->okOnePass && (ws & WHERE_IDX_ONLY)==0 ){ sqlite3VdbeAddOp1(v, OP_Close, pTabItem->iCursor); } | | | 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 | && pTab->pSelect==0 && (pWInfo->wctrlFlags & WHERE_OMIT_CLOSE)==0 ){ int ws = pLevel->plan.wsFlags; if( !pWInfo->okOnePass && (ws & WHERE_IDX_ONLY)==0 ){ sqlite3VdbeAddOp1(v, OP_Close, pTabItem->iCursor); } if( (ws & WHERE_INDEXED)!=0 && (ws & WHERE_TEMP_INDEX)==0 ){ sqlite3VdbeAddOp1(v, OP_Close, pLevel->iIdxCur); } } /* If this scan uses an index, make code substitutions to read data ** from the index in preference to the table. Sometimes, this means ** the table need never be read from. This is a performance boost, |
︙ | ︙ | |||
4394 4395 4396 4397 4398 4399 4400 | } } } } /* Final cleanup */ | < | | < | 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 | } } } } /* Final cleanup */ pParse->nQueryLoop = pWInfo->savedNQueryLoop; whereInfoFree(db, pWInfo); return; } |