From 6045f77003f167bee9a85e2d53f8fc6ff2e297d8 Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Tue, 16 Jun 2020 15:38:12 -0400 Subject: [PATCH] Implement SQLiteDatabase::MakeBatch --- src/wallet/sqlite.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wallet/sqlite.cpp b/src/wallet/sqlite.cpp index bfdd8591625..5c30d72e845 100644 --- a/src/wallet/sqlite.cpp +++ b/src/wallet/sqlite.cpp @@ -262,7 +262,8 @@ void SQLiteDatabase::Close() std::unique_ptr SQLiteDatabase::MakeBatch(bool flush_on_close) { - return nullptr; + // We ignore flush_on_close because we don't do manual flushing for SQLite + return MakeUnique(*this); } SQLiteBatch::SQLiteBatch(SQLiteDatabase& database)