move ClickHouseRevision to dbms

This commit is contained in:
proller 2017-03-14 17:32:48 +03:00 committed by alexey-milovidov
parent 28ed324702
commit 930ac5b2ce
19 changed files with 22 additions and 24 deletions

View File

@ -11,7 +11,7 @@
#include <boost/program_options.hpp>
#include <Poco/File.h>
#include <Poco/Util/Application.h>
#include <common/ClickHouseRevision.h>
#include <DB/Common/ClickHouseRevision.h>
#include <DB/Common/Stopwatch.h>
#include <DB/Common/Exception.h>
#include <DB/Common/ShellCommand.h>

View File

@ -2,7 +2,7 @@
#include <Poco/Net/NetException.h>
#include <common/ClickHouseRevision.h>
#include <DB/Common/ClickHouseRevision.h>
#include <DB/Core/Defines.h>
#include <DB/Common/Exception.h>

View File

@ -0,0 +1,7 @@
#include <DB/Common/ClickHouseRevision.h>
#include <DB/Common/config_version.h>
namespace ClickHouseRevision
{
unsigned get() { return VERSION_REVISION; }
}

View File

@ -1,4 +1,4 @@
#include <common/ClickHouseRevision.h>
#include <DB/Common/ClickHouseRevision.h>
#include <DB/DataStreams/BlocksListBlockInputStream.h>
#include <DB/DataStreams/MergingAggregatedMemoryEfficientBlockInputStream.h>

View File

@ -2,7 +2,7 @@
#include <DB/DataStreams/NativeBlockInputStream.h>
#include <DB/DataStreams/MergingAggregatedMemoryEfficientBlockInputStream.h>
#include <DB/DataStreams/ParallelAggregatingBlockInputStream.h>
#include <common/ClickHouseRevision.h>
#include <DB/Common/ClickHouseRevision.h>
namespace ProfileEvents

View File

@ -20,7 +20,7 @@
#include <DB/Storages/StorageLog.h>
#include <DB/Interpreters/Context.h>
#include <common/ClickHouseRevision.h>
#include <DB/Common/ClickHouseRevision.h>
int main(int argc, char ** argv)

View File

@ -3,7 +3,7 @@
#include <cmath>
#include <ext/range.hpp>
#include <Poco/Net/DNS.h>
#include <common/ClickHouseRevision.h>
#include <DB/Common/ClickHouseRevision.h>
#include <DB/Columns/ColumnSet.h>
#include <DB/Common/UnicodeBar.h>
#include <DB/Core/FieldVisitors.h>

View File

@ -19,7 +19,7 @@
#include <DB/IO/CompressedWriteBuffer.h>
#include <DB/Interpreters/Aggregator.h>
#include <common/ClickHouseRevision.h>
#include <DB/Common/ClickHouseRevision.h>
#include <DB/Interpreters/config_compile.h>

View File

@ -7,7 +7,7 @@
#include <DB/IO/WriteHelpers.h>
#include <DB/Core/Defines.h>
#include <DB/Common/getFQDNOrHostName.h>
#include <common/ClickHouseRevision.h>
#include <DB/Common/ClickHouseRevision.h>
namespace DB

View File

@ -1,5 +1,5 @@
#include <Poco/DirectoryIterator.h>
#include <common/ClickHouseRevision.h>
#include <DB/Common/ClickHouseRevision.h>
#include <ext/unlock_guard.hpp>
#include <DB/Common/SipHash.h>

View File

@ -9,7 +9,7 @@
#include <DB/DataTypes/DataTypeString.h>
#include <DB/DataTypes/DataTypeFixedString.h>
#include <DB/Interpreters/PartLog.h>
#include <common/ClickHouseRevision.h>
#include <DB/Common/ClickHouseRevision.h>
#include <Poco/Net/IPAddress.h>
#include <array>

View File

@ -7,7 +7,7 @@
#include <DB/DataTypes/DataTypeString.h>
#include <DB/DataTypes/DataTypeFixedString.h>
#include <DB/Interpreters/QueryLog.h>
#include <common/ClickHouseRevision.h>
#include <DB/Common/ClickHouseRevision.h>
#include <Poco/Net/IPAddress.h>
#include <array>

View File

@ -7,7 +7,7 @@
#include <Poco/File.h>
#include <common/logger_useful.h>
#include <common/ClickHouseRevision.h>
#include <DB/Common/ClickHouseRevision.h>
#include <common/LocalDateTime.h>
#include <DB/IO/ReadBufferFromFile.h>

View File

@ -2,7 +2,7 @@
#include <Poco/Net/NetException.h>
#include <common/ClickHouseRevision.h>
#include <DB/Common/ClickHouseRevision.h>
#include <DB/Common/Stopwatch.h>

View File

@ -14,7 +14,7 @@
#include <DB/Common/Increment.h>
#include <DB/DataTypes/DataTypesNumber.h>
#include <memory>
#include <common/ClickHouseRevision.h>
#include <DB/Common/ClickHouseRevision.h>
#include <iostream>

View File

@ -25,7 +25,6 @@ add_library (common
src/DateLUT.cpp
src/DateLUTImpl.cpp
src/exp10.cpp
src/ClickHouseRevision.cpp
src/JSON.cpp
include/common/ApplicationServerExt.h
@ -39,7 +38,6 @@ add_library (common
include/common/likely.h
include/common/logger_useful.h
include/common/MultiVersion.h
include/common/ClickHouseRevision.h
include/common/singleton.h
include/common/strong_typedef.h
include/common/JSON.h

View File

@ -1,7 +0,0 @@
#include <common/ClickHouseRevision.h>
#include "common/config_version.h"
namespace ClickHouseRevision
{
unsigned get() { return VERSION_REVISION; }
}

View File

@ -55,7 +55,7 @@
#include <DB/IO/ReadHelpers.h>
#include <DB/IO/WriteHelpers.h>
#include <common/ClickHouseRevision.h>
#include <DB/Common/ClickHouseRevision.h>
#include <daemon/OwnPatternFormatter.h>
using Poco::Logger;