diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/analyze.c | 1 | ||||
-rw-r--r-- | src/where.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/analyze.c b/src/analyze.c index 22ff38822..7c31e04dd 100644 --- a/src/analyze.c +++ b/src/analyze.c @@ -124,6 +124,7 @@ static void analyzeOneTable( int regRowid = iMem++; /* Rowid for the inserted record */ #ifdef SQLITE_ENABLE_STAT2 + int addr = 0; /* Instruction address */ int regTemp2 = iMem++; /* Temporary use register */ int regSamplerecno = iMem++; /* Index of next sample to record */ int regRecno = iMem++; /* Current sample index */ diff --git a/src/where.c b/src/where.c index cdcaa98c0..5d8b8f4ad 100644 --- a/src/where.c +++ b/src/where.c @@ -2942,7 +2942,7 @@ static void bestBtreeIndex( if( nRow>(double)1 && nEq==1 && pFirstTerm!=0 ){ if( pFirstTerm->eOperator & (WO_EQ|WO_ISNULL) ){ testcase( pFirstTerm->eOperator==WO_EQ ); - testcase( pFirstTerm->pOperator==WO_ISNULL ); + testcase( pFirstTerm->eOperator==WO_ISNULL ); whereEqualScanEst(pParse, pProbe, pFirstTerm->pExpr->pRight, &nRow); }else if( pFirstTerm->eOperator==WO_IN && bInEst==0 ){ whereInScanEst(pParse, pProbe, pFirstTerm->pExpr->x.pList, &nRow); |