1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Add ALWAYS() macros. Change some existing ALWAYS() into assert(). Other

code simplifications.

FossilOrigin-Name: 4aa27b4fcd1ffd06c38357a87ba3f5776367570439c49652f0903873def0bb23
This commit is contained in:
drh
2022-01-24 19:38:56 +00:00
parent 0c7d3d399d
commit 1da88b5ce6
8 changed files with 32 additions and 37 deletions

View File

@@ -948,7 +948,7 @@ static void codeReturningTrigger(
pParse->eTriggerOp = pTrigger->op;
pParse->pTriggerTab = pTab;
if( sqlite3ResolveExprListNames(&sNC, pNew)==SQLITE_OK
&& !db->mallocFailed
&& ALWAYS(!db->mallocFailed)
){
int i;
int nCol = pNew->nExpr;