aboutsummaryrefslogtreecommitdiff
path: root/src/trigger.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/trigger.c')
-rw-r--r--src/trigger.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/trigger.c b/src/trigger.c
index 3e601346a..90ab54e3f 100644
--- a/src/trigger.c
+++ b/src/trigger.c
@@ -760,7 +760,10 @@ int sqlite3CodeRowTrigger(
fire_this = 0;
}
}
-
+
+ /* FIX ME: Can we not omit the sqliteMalloc() and make pTriggerStack
+ ** point to a stack variable?
+ */
if( fire_this && (pTriggerStack = sqliteMalloc(sizeof(TriggerStack)))!=0 ){
int endTrigger;
SrcList dummyTablist;