Fix headres + sort input files

This commit is contained in:
alesapin 2019-01-29 13:43:35 +03:00
parent 646137b63a
commit ec88c521f2
3 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,4 @@
#include <algorithm>
#include <iostream> #include <iostream>
#include <limits> #include <limits>
#include <regex> #include <regex>
@ -277,6 +278,7 @@ static std::vector<std::string> getInputFiles(const po::variables_map & options,
input_files = std::move(collected_files); input_files = std::move(collected_files);
} }
std::sort(input_files.begin(), input_files.end());
return input_files; return input_files;
} }

View File

@ -3,6 +3,7 @@
#include <algorithm> #include <algorithm>
#include <regex> #include <regex>
#include <sstream> #include <sstream>
#include <thread>
#include <Common/getNumberOfPhysicalCPUCores.h> #include <Common/getNumberOfPhysicalCPUCores.h>
#include <Common/getFQDNOrHostName.h> #include <Common/getFQDNOrHostName.h>

View File

@ -1,7 +1,6 @@
#pragma once #pragma once
#include <Core/Types.h> #include <Core/Types.h>
#include <unordered_map>
#include <Poco/Util/XMLConfiguration.h> #include <Poco/Util/XMLConfiguration.h>
namespace DB namespace DB