Revision db7ae0a485de0bbb4acd2ec2391d634b2ce9c854 authored by Yanqin Jin on 06 July 2018, 23:07:29 UTC, committed by Facebook Github Bot on 06 July 2018, 23:12:49 UTC
Summary: `std::map::at(key)` throws std::out_of_range if key does not exist. Current code does not handle this. Although this case is unlikely, I feel it's safe to use `std::map::find`. Pull Request resolved: https://github.com/facebook/rocksdb/pull/4098 Differential Revision: D8753865 Pulled By: riversand963 fbshipit-source-id: 9a9ba43badb0fb5e0d24cd87903931fd12f3f8ec
1 parent d4d9fe8
File | Mode | Size |
---|---|---|
env.cc | -rw-r--r-- | 11.3 KB |
env_basic_test.cc | -rw-r--r-- | 12.6 KB |
env_chroot.cc | -rw-r--r-- | 12.0 KB |
env_chroot.h | -rw-r--r-- | 684 bytes |
env_encryption.cc | -rw-r--r-- | 33.1 KB |
env_hdfs.cc | -rw-r--r-- | 18.6 KB |
env_posix.cc | -rw-r--r-- | 32.9 KB |
env_test.cc | -rw-r--r-- | 52.2 KB |
io_posix.cc | -rw-r--r-- | 29.3 KB |
io_posix.h | -rw-r--r-- | 8.4 KB |
mock_env.cc | -rw-r--r-- | 20.7 KB |
mock_env.h | -rw-r--r-- | 4.1 KB |
mock_env_test.cc | -rw-r--r-- | 2.6 KB |
posix_logger.h | -rw-r--r-- | 5.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...