rocksdb/utilities/transactions
XieJiSS 8b1df101da fix: build on risc-v (#9215)
Summary:
Patch is modified from ~~https://reviews.llvm.org/file/data/du5ol5zctyqw53ma7dwz/PHID-FILE-knherxziu4tl4erti5ab/file~~

Tested on Arch Linux riscv64gc (qemu)

UPDATE: Seems like the above link is broken, so I tried to search for a link pointing to the original merge request. It turned out to me that the LLVM guys are cherry-picking from `google/benchmark`, and the upstream should be this:

808571a52f/src/cycleclock.h (L190)

Pull Request resolved: https://github.com/facebook/rocksdb/pull/9215

Reviewed By: siying, jay-zhuang

Differential Revision: D34170586

Pulled By: riversand963

fbshipit-source-id: 41b16b9f7f3bb0f3e7b26bb078eb575499c0f0f4
2022-05-17 17:33:01 -07:00
..
lock fix: build on risc-v (#9215) 2022-05-17 17:33:01 -07:00
optimistic_transaction.cc
optimistic_transaction.h
optimistic_transaction_db_impl.cc
optimistic_transaction_db_impl.h
optimistic_transaction_test.cc
pessimistic_transaction.cc
pessimistic_transaction.h
pessimistic_transaction_db.cc
pessimistic_transaction_db.h
snapshot_checker.cc Use STATIC_AVOID_DESTRUCTION for static objects with non-trivial destructors (#9958) 2022-05-17 09:39:22 -07:00
transaction_base.cc
transaction_base.h
transaction_db_mutex_impl.cc
transaction_db_mutex_impl.h
transaction_test.cc Remove own ToString() (#9955) 2022-05-06 13:03:58 -07:00
transaction_test.h
transaction_util.cc Remove own ToString() (#9955) 2022-05-06 13:03:58 -07:00
transaction_util.h
write_committed_transaction_ts_test.cc
write_prepared_transaction_test.cc Remove own ToString() (#9955) 2022-05-06 13:03:58 -07:00
write_prepared_txn.cc
write_prepared_txn.h
write_prepared_txn_db.cc Remove own ToString() (#9955) 2022-05-06 13:03:58 -07:00
write_prepared_txn_db.h Remove own ToString() (#9955) 2022-05-06 13:03:58 -07:00
write_unprepared_transaction_test.cc Remove own ToString() (#9955) 2022-05-06 13:03:58 -07:00
write_unprepared_txn.cc Remove own ToString() (#9955) 2022-05-06 13:03:58 -07:00
write_unprepared_txn.h
write_unprepared_txn_db.cc
write_unprepared_txn_db.h