1
0
Fork 0

Fix broken validation of tick range in arangodump. (#8056)

This commit is contained in:
Dan Larkin-York 2019-01-29 03:09:43 -05:00 committed by Jan
parent 8c5e7423b2
commit 1cf83e46d1
1 changed files with 1 additions and 1 deletions

View File

@ -610,7 +610,7 @@ void DumpFeature::validateOptions(std::shared_ptr<options::ProgramOptions> optio
_options.maxChunkSize =
boost::algorithm::clamp(_options.maxChunkSize, _options.initialChunkSize, ::MaxChunkSize);
if (_options.tickStart < _options.tickEnd) {
if (_options.tickEnd < _options.tickStart) {
LOG_TOPIC(FATAL, arangodb::Logger::FIXME)
<< "invalid values for --tick-start or --tick-end";
FATAL_ERROR_EXIT();