Skip to content

Commit

Permalink
Implement SQLiteDatabase::MakeBatch
Browse files Browse the repository at this point in the history
  • Loading branch information
achow101 committed Oct 14, 2020
1 parent 727e6b2 commit 6045f77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/wallet/sqlite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6045f77

Please sign in to comment.