1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Remove an unnecessary parameter from selectInnerLoop(). Clean up comments.

FossilOrigin-Name: 5e6c4a55f6df30da9dbaa8170f3223613cc86f65
This commit is contained in:
drh
2014-01-22 00:23:49 +00:00
parent e73f059093
commit 340309fd69
5 changed files with 93 additions and 94 deletions

View File

@@ -3411,6 +3411,8 @@ static Bitmask codeOneLoopStart(
static const u8 aStart[] = { OP_Rewind, OP_Last };
assert( bRev==0 || bRev==1 );
if( pTabItem->isRecursive ){
/* Tables marked isRecursive have only a single row that is stored in
** a pseudo-cursor. Need need to Rewind or Next such cursors. */
pLevel->op = OP_Noop;
}else{
pLevel->op = aStep[bRev];