aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index f186d6ede..7322e2827 100644
--- a/src/main.c
+++ b/src/main.c
@@ -3358,6 +3358,12 @@ static int openDatabase(
}
#endif
+#ifdef SQLITE_ENABLE_BYTECODE_VTAB
+ if( !db->mallocFailed && rc==SQLITE_OK){
+ rc = sqlite3VdbeBytecodeVtabInit(db);
+ }
+#endif
+
#ifdef SQLITE_ENABLE_INTERNAL_FUNCTIONS
/* Testing use only!!! The -DSQLITE_ENABLE_INTERNAL_FUNCTIONS=1 compile-time
** option gives access to internal functions by default.