aboutsummaryrefslogtreecommitdiff
path: root/src/loadext.c
diff options
context:
space:
mode:
authordan <Dan Kennedy>2022-04-28 18:33:02 +0000
committerdan <Dan Kennedy>2022-04-28 18:33:02 +0000
commit07fd1bf3235de9cd6ac53fd7e6466faa3c76f3e3 (patch)
treeb547175dfbed9c56a70caefda814d1f0c8fcd3a8 /src/loadext.c
parent22b541b55a12a137b533132396cbdf2e71e2f7d3 (diff)
downloadsqlite-07fd1bf3235de9cd6ac53fd7e6466faa3c76f3e3.tar.gz
sqlite-07fd1bf3235de9cd6ac53fd7e6466faa3c76f3e3.zip
Fix problem with SQLITE_OMIT_VIRTUALTABLE builds.
FossilOrigin-Name: a99ee612b9bd6d75b63e557ef5bdac2143425a558cf023a0480cc28c8300a9a8
Diffstat (limited to 'src/loadext.c')
-rw-r--r--src/loadext.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/loadext.c b/src/loadext.c
index cefe2eb94..bba431096 100644
--- a/src/loadext.c
+++ b/src/loadext.c
@@ -487,11 +487,19 @@ static const sqlite3_api_routines sqlite3Apis = {
sqlite3_autovacuum_pages,
/* Version 3.38.0 and later */
sqlite3_error_offset,
+#ifndef SQLITE_OMIT_VIRTUALTABLE
sqlite3_vtab_rhs_value,
sqlite3_vtab_distinct,
sqlite3_vtab_in,
sqlite3_vtab_in_first,
sqlite3_vtab_in_next,
+#else
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+#endif
/* Version 3.39.0 and later */
#ifndef SQLITE_OMIT_DESERIALIZE
sqlite3_deserialize,