diff options
Diffstat (limited to 'src/build.c')
-rw-r--r-- | src/build.c | 1 |
1 files changed, 1 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++){ |