From 0a5dd889b0eb9a764ac51d8879f1881b4bdfc731 Mon Sep 17 00:00:00 2001 From: Thomas Brady Date: Wed, 5 Jun 2024 16:23:46 -0700 Subject: [PATCH] warn non-sqlite3 dbs are deprecated --- src/main/ApplicationImpl.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/ApplicationImpl.cpp b/src/main/ApplicationImpl.cpp index 183ab8fa89..3151271578 100644 --- a/src/main/ApplicationImpl.cpp +++ b/src/main/ApplicationImpl.cpp @@ -759,6 +759,13 @@ ApplicationImpl::validateAndLogConfig() "in-memory mode is enabled. This feature is deprecated! Node " "may see performance degredation and lose sync with the network."); } + if (!mDatabase->isSqlite()) + { + CLOG_WARNING(Database, + "Non-sqlite3 database detected. Support for other sql " + "backends is deprecated and will be removed in a future " + "release. Please use sqlite3 for non-ledger state data."); + } if (mConfig.DEPRECATED_SQL_LEDGER_STATE) {