aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2020-06-16 15:38:12 -0400
committerAndrew Chow <achow101-github@achow101.com>2020-10-14 11:28:18 -0400
commit6045f77003f167bee9a85e2d53f8fc6ff2e297d8 (patch)
treee42b2e022dcd9750ca65c0239a71a1796e64469f /src
parent727e6b2a4ee5abb7f2dcbc9f7778291908dc28ad (diff)
downloadbitcoin-6045f77003f167bee9a85e2d53f8fc6ff2e297d8.tar.xz
Implement SQLiteDatabase::MakeBatch
Diffstat (limited to 'src')
-rw-r--r--src/wallet/sqlite.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/sqlite.cpp b/src/wallet/sqlite.cpp
index bfdd859162..5c30d72e84 100644
--- a/src/wallet/sqlite.cpp
+++ b/src/wallet/sqlite.cpp
@@ -262,7 +262,8 @@ void SQLiteDatabase::Close()
std::unique_ptr<DatabaseBatch> SQLiteDatabase::MakeBatch(bool flush_on_close)
{
- return nullptr;
+ // We ignore flush_on_close because we don't do manual flushing for SQLite
+ return MakeUnique<SQLiteBatch>(*this);
}
SQLiteBatch::SQLiteBatch(SQLiteDatabase& database)