aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vdbeapi.c')
-rw-r--r--src/vdbeapi.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/vdbeapi.c b/src/vdbeapi.c
index f6047f6fb..bd39a539f 100644
--- a/src/vdbeapi.c
+++ b/src/vdbeapi.c
@@ -177,9 +177,12 @@ int sqlite3_step(sqlite3_stmt *pStmt){
db->activeVdbeCnt++;
p->pc = 0;
}
+#ifndef SQLITE_OMIT_EXPLAIN
if( p->explain ){
rc = sqlite3VdbeList(p);
- }else{
+ }else
+#endif /* SQLITE_OMIT_EXPLAIN */
+ {
rc = sqlite3VdbeExec(p);
}