mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-28 05:13:03 +02:00
Implement SQLiteDatabase::MakeBatch
This commit is contained in:
parent
727e6b2a4e
commit
6045f77003
@ -262,7 +262,8 @@ void SQLiteDatabase::Close()
|
|||||||
|
|
||||||
std::unique_ptr<DatabaseBatch> SQLiteDatabase::MakeBatch(bool flush_on_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)
|
SQLiteBatch::SQLiteBatch(SQLiteDatabase& database)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user