diff options
author | Andrew Chow <achow101-github@achow101.com> | 2020-06-16 15:38:12 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-10-14 11:28:18 -0400 |
commit | 6045f77003f167bee9a85e2d53f8fc6ff2e297d8 (patch) | |
tree | e42b2e022dcd9750ca65c0239a71a1796e64469f /src/wallet/sqlite.cpp | |
parent | 727e6b2a4ee5abb7f2dcbc9f7778291908dc28ad (diff) |
Implement SQLiteDatabase::MakeBatch
Diffstat (limited to 'src/wallet/sqlite.cpp')
-rw-r--r-- | src/wallet/sqlite.cpp | 3 |
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) |