aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2020-03-23 15:49:22 +0000
committerdrh <drh@noemail.net>2020-03-23 15:49:22 +0000
commit691b5c54b80c4861906d8791623a09af6db2d966 (patch)
tree88c65cc0f49207df96db32f9b174ec12fa0b0048 /src/main.c
parent74a07986cee851014e2bd154e0376768cd4d07b5 (diff)
downloadsqlite-691b5c54b80c4861906d8791623a09af6db2d966.tar.gz
sqlite-691b5c54b80c4861906d8791623a09af6db2d966.zip
Infrastructure for the bytecode() table-valued function. The function itself
is not yet implemented. FossilOrigin-Name: 2795f0d633577e0de66b389d9e8e44c55e85975bdc62f1a0b8f93959d19b22bf
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 98e030fad..24cbe8bdb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -3346,6 +3346,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.