Commit 6fb59d52 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-742: Fix clang -Winconsistent-missing-override

parent 2559075b
...@@ -3159,11 +3159,11 @@ class Rdb_transaction_impl : public Rdb_transaction { ...@@ -3159,11 +3159,11 @@ class Rdb_transaction_impl : public Rdb_transaction {
virtual bool is_writebatch_trx() const override { return false; } virtual bool is_writebatch_trx() const override { return false; }
bool is_prepared() { bool is_prepared() override {
return m_rocksdb_tx && rocksdb::Transaction::PREPARED == m_rocksdb_tx->GetState(); return m_rocksdb_tx && rocksdb::Transaction::PREPARED == m_rocksdb_tx->GetState();
} }
void detach_prepared_tx() { void detach_prepared_tx() override {
DBUG_ASSERT(rocksdb::Transaction::PREPARED == m_rocksdb_tx->GetState()); DBUG_ASSERT(rocksdb::Transaction::PREPARED == m_rocksdb_tx->GetState());
m_rocksdb_tx = nullptr; m_rocksdb_tx = nullptr;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment