Fix UBSAN Error in WritePreparedTransactionTest
Summary: WritePreparedTransactionTest has the UBSAN error because the wrong order of its parent class construction. Fix it. Closes https://github.com/facebook/rocksdb/pull/3478 Differential Revision: D6928975 Pulled By: siying fbshipit-source-id: 13edfd5cb9cf73f1ac5ae3b6f53061d32783733d
This commit is contained in:
parent
821e0b1683
commit
a0931b3185
@ -349,7 +349,7 @@ class WritePreparedTransactionTestBase : public TransactionTestBase {
|
||||
|
||||
class WritePreparedTransactionTest
|
||||
: public WritePreparedTransactionTestBase,
|
||||
public ::testing::WithParamInterface<
|
||||
virtual public ::testing::WithParamInterface<
|
||||
std::tuple<bool, bool, TxnDBWritePolicy>> {
|
||||
public:
|
||||
WritePreparedTransactionTest()
|
||||
|
Loading…
Reference in New Issue
Block a user