diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/build.c | 1 | ||||
-rw-r--r-- | src/where.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/build.c b/src/build.c index 2f672653e..b3e963974 100644 --- a/src/build.c +++ b/src/build.c @@ -4277,6 +4277,7 @@ void sqlite3CreateIndex( assert( HasRowid(pTab) || pTab->iPKey<0 || sqlite3TableColumnToIndex(pIndex, pTab->iPKey)>=0 ); recomputeColumnsNotIndexed(pParse, pIndex); + if( pParse->nErr ) goto exit_create_index; if( pTblName!=0 && pIndex->nColumn>=pTab->nCol ){ pIndex->isCovering = 1; for(j=0; j<pTab->nCol; j++){ diff --git a/src/where.c b/src/where.c index 2dd40025a..65f7f5acd 100644 --- a/src/where.c +++ b/src/where.c @@ -1149,6 +1149,7 @@ static SQLITE_NOINLINE void sqlite3ConstructBloomFilter( assert( pLoop!=0 ); assert( v!=0 ); assert( pLoop->wsFlags & WHERE_BLOOMFILTER ); + assert( (pLoop->wsFlags & WHERE_IDX_ONLY)==0 ); addrOnce = sqlite3VdbeAddOp0(v, OP_Once); VdbeCoverage(v); do{ |