aboutsummaryrefslogtreecommitdiff
path: root/src/update.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/update.c')
-rw-r--r--src/update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update.c b/src/update.c
index c90320f0b..ba5d0380a 100644
--- a/src/update.c
+++ b/src/update.c
@@ -764,7 +764,7 @@ static void updateVirtualTable(
** above. Also, if this is a top-level parse (not a trigger), clear the
** multi-write flag so that the VM does not open a statement journal */
sqlite3VdbeChangeToNoop(v, addr);
- if( sqlite3ParseToplevel(pParse)==pParse ){
+ if( sqlite3IsToplevel(pParse) ){
pParse->isMultiWrite = 0;
}
}else{