aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/sqlite.cpp
diff options
context:
space:
mode:
authorAndrew Chow <[email protected]>2020-06-16 15:38:12 -0400
committerAndrew Chow <[email protected]>2020-10-14 11:28:18 -0400
commit6045f77003f167bee9a85e2d53f8fc6ff2e297d8 (patch)
treee42b2e022dcd9750ca65c0239a71a1796e64469f /src/wallet/sqlite.cpp
parentImplement SQLiteDatabase::Verify (diff)
downloaddiscoin-6045f77003f167bee9a85e2d53f8fc6ff2e297d8.tar.xz
discoin-6045f77003f167bee9a85e2d53f8fc6ff2e297d8.zip
Implement SQLiteDatabase::MakeBatch
Diffstat (limited to 'src/wallet/sqlite.cpp')
-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 bfdd85916..5c30d72e8 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)