Merge pull request #1607

f9293b69 unit_tests: fix missing return after batch_start prototype change (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-01-22 11:47:02 -05:00
commit 8e79271a19
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

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