summaryrefslogtreecommitdiffstats
path: root/src/alter.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:07:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:07:40 +0000
commit9d2c15192c890a8876bcb9a2ef918756d03718b6 (patch)
tree8340f6a53cda0ba296d162c8c8d767086a337ff9 /src/alter.c
parentAdding upstream version 3.46.0. (diff)
downloadsqlite3-9d2c15192c890a8876bcb9a2ef918756d03718b6.tar.xz
sqlite3-9d2c15192c890a8876bcb9a2ef918756d03718b6.zip
Adding upstream version 3.46.1.upstream/3.46.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/alter.c')
-rw-r--r--src/alter.c2
1 files changed, 1 insertions, 1 deletions
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 */