Andrew Kryczka 1960e73e21 fix handling of empty string as checkpoint directory
Summary:
- made `CreateCheckpoint` properly return `InvalidArgument` when called with an empty directory. Previously it triggered an assertion failure due to a bug in the logic.
- made `ldb` set empty `checkpoint_dir` if that's what the user specifies, so that we can use it to properly test `CreateCheckpoint` in the future.

Differential Revision: D6874562

fbshipit-source-id: dcc1bd41768261d9338987fa7711444289707ed7
2018-02-20 16:44:00 -08:00
..
2017-12-01 10:42:05 -08:00
2017-08-03 15:56:46 -07:00
2018-01-29 12:56:42 -08:00
2018-01-29 12:56:42 -08:00
2017-07-15 16:11:23 -07:00
2017-12-01 10:42:05 -08:00
2017-07-15 16:11:23 -07:00
2018-01-29 12:56:42 -08:00
2017-12-01 10:42:05 -08:00
2017-07-15 16:11:23 -07:00
2017-08-03 15:56:46 -07:00
2017-08-03 15:56:46 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-01-29 12:56:42 -08:00
2017-07-15 16:11:23 -07:00
2017-08-03 15:56:46 -07:00
2017-07-15 16:11:23 -07:00
2018-01-29 12:56:42 -08:00
2017-08-03 15:56:46 -07:00
2017-08-03 15:56:46 -07:00
2017-07-15 16:11:23 -07:00
2017-08-03 15:56:46 -07:00