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
main
Siying Dong 7 years ago committed by Facebook Github Bot
parent 821e0b1683
commit a0931b3185
  1. 2
      utilities/transactions/write_prepared_transaction_test.cc

@ -349,7 +349,7 @@ class WritePreparedTransactionTestBase : public TransactionTestBase {
class WritePreparedTransactionTest class WritePreparedTransactionTest
: public WritePreparedTransactionTestBase, : public WritePreparedTransactionTestBase,
public ::testing::WithParamInterface< virtual public ::testing::WithParamInterface<
std::tuple<bool, bool, TxnDBWritePolicy>> { std::tuple<bool, bool, TxnDBWritePolicy>> {
public: public:
WritePreparedTransactionTest() WritePreparedTransactionTest()

Loading…
Cancel
Save