@@ -79,10 +79,15 @@ [_conn executeStatement: @"CREATE TABLE IF NOT EXISTS next_batch (\n" @" device_id TEXT PRIMARY KEY,\n" @" next_batch TEXT\n" @")"]; } + +- (void)transactionWithBlock: (mtx_storage_transaction_block_t)block +{ + [_conn transactionWithBlock: block]; +} - (void)setNextBatch: (OFString *)nextBatch forDeviceID: (OFString *)deviceID { void *pool = objc_autoreleasePoolPush();