From 9d2c15192c890a8876bcb9a2ef918756d03718b6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 19 Sep 2024 06:07:40 +0200 Subject: Adding upstream version 3.46.1. Signed-off-by: Daniel Baumann --- src/alter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/alter.c') diff --git a/src/alter.c b/src/alter.c index c1e0a29..a8556d1 100644 --- a/src/alter.c +++ b/src/alter.c @@ -1320,7 +1320,7 @@ static int renameResolveTrigger(Parse *pParse){ /* ALWAYS() because if the table of the trigger does not exist, the ** error would have been hit before this point */ if( ALWAYS(pParse->pTriggerTab) ){ - rc = sqlite3ViewGetColumnNames(pParse, pParse->pTriggerTab); + rc = sqlite3ViewGetColumnNames(pParse, pParse->pTriggerTab)!=0; } /* Resolve symbols in WHEN clause */ -- cgit v1.2.3