rocksdb/env
Andrew Kryczka 33042573db Fix GetCurrentTime() initialization for valgrind
Summary:
Valgrind had false positive complaints about the initialization pattern for `GetCurrentTime()`'s argument in #2480. We can instead have the client initialize the time variable before calling `GetCurrentTime()`, and have `GetCurrentTime()` promise to only overwrite it in success case.
Closes https://github.com/facebook/rocksdb/pull/2526

Differential Revision: D5358689

Pulled By: ajkr

fbshipit-source-id: 857b189f24c19196f6bb299216f3e23e7bc4be42
2017-07-05 12:12:00 -07:00
..
env.cc disable direct reads for log and manifest and add direct io to tests 2017-05-22 18:41:28 -07:00
env_basic_test.cc Move some files under util/ to separate dirs 2017-04-05 19:09:16 -07:00
env_chroot.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
env_chroot.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
env_encryption.cc Encryption at rest support 2017-06-26 16:56:24 -07:00
env_hdfs.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
env_posix.cc Improve the error message for I/O related errors. 2017-06-26 12:57:01 -07:00
env_test.cc disable direct reads for log and manifest and add direct io to tests 2017-05-22 18:41:28 -07:00
io_posix.cc Improve the error message for I/O related errors. 2017-06-26 12:57:01 -07:00
io_posix.h Improve the error message for I/O related errors. 2017-06-26 12:57:01 -07:00
mock_env.cc Fix GetCurrentTime() initialization for valgrind 2017-07-05 12:12:00 -07:00
mock_env.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
mock_env_test.cc Move some files under util/ to separate dirs 2017-04-05 19:09:16 -07:00
posix_logger.h Make PosixLogger::flush_pending_ atomic 2017-04-28 17:07:56 -07:00