Changli Gao 5ac97314e7 Fix std::out_of_range when DBOptions::keep_log_file_num is zero
Summary:
We should validate this option, otherwise we may see
std::out_of_range thrown at: db/db_impl.cc:1124

1123     for (unsigned int i = 0; i <= end; i++) {
1124       std::string& to_delete = old_info_log_files.at(i);
1125       std::string full_path_to_delete =
1126           (immutable_db_options_.db_log_dir.empty()
Closes https://github.com/facebook/rocksdb/pull/1722

Differential Revision: D4379495

Pulled By: yiwu-arbug

fbshipit-source-id: e136552
2017-01-20 13:24:12 -08:00
..
2016-11-21 12:24:13 -08:00
2016-11-19 14:24:12 -08:00
2017-01-03 18:39:14 -08:00
2017-01-03 18:39:14 -08:00
2017-01-08 14:24:12 -08:00
2017-01-08 14:24:12 -08:00
2016-11-04 12:09:22 -07:00
2017-01-20 10:54:12 -08:00
2017-01-17 13:54:20 -08:00
2017-01-03 17:54:12 -08:00
2016-11-10 11:09:22 -08:00
2016-12-19 16:54:12 -08:00
2016-07-08 17:50:51 -07:00
2016-10-13 08:48:40 -07:00
2016-07-08 17:50:51 -07:00
2016-11-03 18:54:20 -07:00
2017-01-08 14:24:12 -08:00
2017-01-08 14:24:12 -08:00
2017-01-08 14:24:12 -08:00
2016-12-29 15:54:19 -08:00
2016-11-19 14:24:12 -08:00
2016-09-27 18:20:57 -07:00
2016-09-27 18:20:57 -07:00
2016-07-13 15:36:22 -07:00
2017-01-08 14:24:12 -08:00
2016-11-21 18:09:13 -08:00