mirror of https://gitee.com/bigwinds/arangodb
Fix broken validation of tick range in arangodump. (#8056)
This commit is contained in:
parent
8c5e7423b2
commit
1cf83e46d1
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue