Skip to content

Commit 6045f77

Browse files
committed
Implement SQLiteDatabase::MakeBatch
1 parent 727e6b2 commit 6045f77

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/wallet/sqlite.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,8 @@ void SQLiteDatabase::Close()
262262

263263
std::unique_ptr<DatabaseBatch> SQLiteDatabase::MakeBatch(bool flush_on_close)
264264
{
265-
return nullptr;
265+
// We ignore flush_on_close because we don't do manual flushing for SQLite
266+
return MakeUnique<SQLiteBatch>(*this);
266267
}
267268

268269
SQLiteBatch::SQLiteBatch(SQLiteDatabase& database)

0 commit comments

Comments
 (0)