0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00

Implement SQLiteDatabase::MakeBatch

This commit is contained in:
Andrew Chow 2020-06-16 15:38:12 -04:00
parent 727e6b2a4e
commit 6045f77003

View file

@ -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)