From f877366a68b8f794346dc10f1db56f2e4ea0c5fd Mon Sep 17 00:00:00 2001 From: Rene Cannao Date: Wed, 21 Jan 2026 00:49:13 +0000 Subject: [PATCH] Restore commented SQLite3DB::LoadPlugin reference with TODO --- src/main.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index cfb2a3d4b..22307dfdb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1386,7 +1386,15 @@ static void LoadPlugins() { + } else { + proxy_warning("SQLite3 plugin function replacement is disabled; no sqlite3 plugin specified\n"); + } -+ /* Skipping SQLite3DB::LoadPlugin to avoid replacing proxy_sqlite3_* symbols */ ++ /* + * Temporarily disabled: do not replace proxy_sqlite3_* symbols from plugins because + * this can change core sqlite3 behavior unexpectedly. The original call is kept + * here for reference and to make re-enabling trivial in the future. + * TODO: Revisit plugin function replacement and implement a safer mechanism + * for plugin-provided sqlite3 capabilities (create a ticket/PR and reference it here). + */ + // SQLite3DB::LoadPlugin(GloVars.sqlite3_plugin); + + } if (GloVars.web_interface_plugin) { dlerror();