diff options
author | drh <drh@noemail.net> | 2019-12-30 23:41:59 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2019-12-30 23:41:59 +0000 |
commit | 0b973c8bffd6686ea9c34c016f361f95719b1190 (patch) | |
tree | 70767ab3e364e8d06b5e78234d56093694c5a96a /src | |
parent | 2b173b93fc95656d927fe085c9cefb2ee4554157 (diff) | |
download | sqlite-0b973c8bffd6686ea9c34c016f361f95719b1190.tar.gz sqlite-0b973c8bffd6686ea9c34c016f361f95719b1190.zip |
Add an ALWAYS() to a conditional which is apparently always true.
FossilOrigin-Name: ea44c607b8038999a6bda4d761d95056aa4058d6c2891b7eee0715a50e703490
Diffstat (limited to 'src')
-rw-r--r-- | src/build.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build.c b/src/build.c index 1188d2452..d05871689 100644 --- a/src/build.c +++ b/src/build.c @@ -2638,7 +2638,7 @@ int sqlite3ViewGetColumnNames(Parse *pParse, Table *pTable){ sqlite3ColumnsFromExprList(pParse, pTable->pCheck, &pTable->nCol, &pTable->aCol); if( db->mallocFailed==0 - && pParse->nErr==0 + && ALWAYS(pParse->nErr==0) && pTable->nCol==pSel->pEList->nExpr ){ sqlite3SelectAddColumnTypeAndCollation(pParse, pTable, pSel, |