1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-12-03 08:01:19 +03:00

Add a NEVER() to a branch that is unreachable for STAT4.

FossilOrigin-Name: e4e97505af4016c48465009686bfeffe9627e225a5b2082a5bf4baeee40db5c9
This commit is contained in:
drh
2022-02-19 15:57:28 +00:00
parent b15a3940d1
commit 1ff855b22e
3 changed files with 8 additions and 8 deletions

View File

@@ -1645,7 +1645,7 @@ static int valueFromExpr(
no_mem:
#ifdef SQLITE_ENABLE_STAT4
if( pCtx==0 || pCtx->pParse->nErr==0 )
if( pCtx==0 || NEVER(pCtx->pParse->nErr==0) )
#endif
sqlite3OomFault(db);
sqlite3DbFree(db, zVal);