From 94fb25e84ccec1b858fba60b26deec3a8ed21fc0 Mon Sep 17 00:00:00 2001 From: Nuno Cruces Date: Thu, 23 May 2024 17:40:29 +0100 Subject: [PATCH] Enable sqlite_stat4. --- sqlite3/sqlite_cfg.h | 2 ++ sqlite3/sqlite_opt.h | 1 + 2 files changed, 3 insertions(+) diff --git a/sqlite3/sqlite_cfg.h b/sqlite3/sqlite_cfg.h index d86793a6..4add44ef 100644 --- a/sqlite3/sqlite_cfg.h +++ b/sqlite3/sqlite_cfg.h @@ -18,6 +18,8 @@ #define HAVE_STDINT_H 1 #define HAVE_INTTYPES_H 1 +#define LONGDOUBLE_TYPE double + #define HAVE_LOG2 1 #define HAVE_LOG10 1 #define HAVE_ISNAN 1 diff --git a/sqlite3/sqlite_opt.h b/sqlite3/sqlite_opt.h index 199a1426..b5782396 100644 --- a/sqlite3/sqlite_opt.h +++ b/sqlite3/sqlite_opt.h @@ -23,6 +23,7 @@ #define SQLITE_DEFAULT_FOREIGN_KEYS 1 #define SQLITE_ENABLE_ATOMIC_WRITE #define SQLITE_ENABLE_BATCH_ATOMIC_WRITE +#define SQLITE_ENABLE_STAT4 1 // We have our own memdb VFS. // To avoid interactions between the two,