From 3dc46e59048e675dab22b600144441a9b45c83d6 Mon Sep 17 00:00:00 2001 From: Piotr Sarna Date: Tue, 30 Jan 2024 11:53:18 +0100 Subject: [PATCH] SQLite3MultipleCiphers: enable dbstat and other vtabs (#967) The CMake definitions look like they only apply to builds which enable shell, which doesn't make much sense. We rely on dbstat, so let's just enable it. --- libsql-ffi/bundled/SQLite3MultipleCiphers/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libsql-ffi/bundled/SQLite3MultipleCiphers/CMakeLists.txt b/libsql-ffi/bundled/SQLite3MultipleCiphers/CMakeLists.txt index 709db5e4cab..a0f8db58383 100644 --- a/libsql-ffi/bundled/SQLite3MultipleCiphers/CMakeLists.txt +++ b/libsql-ffi/bundled/SQLite3MultipleCiphers/CMakeLists.txt @@ -125,6 +125,10 @@ set(SQLITE3MC_BASE_DEFINITIONS LIBSQL_EXTRA_PRAGMAS=1 LIBSQL_CUSTOM_PAGER_CODEC=1 + SQLITE_ENABLE_DBSTAT_VTAB=1 + SQLITE_ENABLE_DBPAGE_VTAB=1 + SQLITE_ENABLE_STMTVTAB=1 + HAVE_CIPHER_AES_128_CBC=0 HAVE_CIPHER_AES_256_CBC=1 HAVE_CIPHER_CHACHA20=0