Merge pull request #1607
f9293b69
unit_tests: fix missing return after batch_start prototype change (moneromooo-monero)
This commit is contained in:
commit
8e79271a19
@ -51,7 +51,7 @@ public:
|
|||||||
virtual std::string get_db_name() const { return std::string(); }
|
virtual std::string get_db_name() const { return std::string(); }
|
||||||
virtual bool lock() { return true; }
|
virtual bool lock() { return true; }
|
||||||
virtual void unlock() { }
|
virtual void unlock() { }
|
||||||
virtual bool batch_start(uint64_t batch_num_blocks=0) {}
|
virtual bool batch_start(uint64_t batch_num_blocks=0) { return true; }
|
||||||
virtual void batch_stop() {}
|
virtual void batch_stop() {}
|
||||||
virtual void set_batch_transactions(bool) {}
|
virtual void set_batch_transactions(bool) {}
|
||||||
virtual void block_txn_start(bool readonly=false) {}
|
virtual void block_txn_start(bool readonly=false) {}
|
||||||
|
Loading…
Reference in New Issue
Block a user