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

Add an ALWAYS() to an unreachable branch.

FossilOrigin-Name: 6bb6de42b62acd35ade6c95a11bb4c9b35e7e9a24620731ae36364c4d5c3bc31
This commit is contained in:
drh
2021-01-30 16:16:42 +00:00
parent a8a64a078f
commit 1832f2921d
3 changed files with 8 additions and 8 deletions

View File

@@ -390,7 +390,7 @@ static int lookupName(
}
#endif /* SQLITE_OMIT_TRIGGER */
#ifndef SQLITE_OMIT_UPSERT
if( (pNC->ncFlags & NC_UUpsert)!=0 && zTab ){
if( (pNC->ncFlags & NC_UUpsert)!=0 && ALWAYS(zTab) ){
Upsert *pUpsert = pNC->uNC.pUpsert;
if( pUpsert && sqlite3StrICmp("excluded",zTab)==0 ){
pTab = pUpsert->pUpsertSrc->a[0].pTab;