mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
move ClickHouseRevision to dbms
This commit is contained in:
parent
28ed324702
commit
930ac5b2ce
@ -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>
|
||||
|
@ -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>
|
||||
|
7
dbms/src/Common/ClickHouseRevision.cpp
Normal file
7
dbms/src/Common/ClickHouseRevision.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
#include <DB/Common/ClickHouseRevision.h>
|
||||
#include <DB/Common/config_version.h>
|
||||
|
||||
namespace ClickHouseRevision
|
||||
{
|
||||
unsigned get() { return VERSION_REVISION; }
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
#include <common/ClickHouseRevision.h>
|
||||
#include <DB/Common/ClickHouseRevision.h>
|
||||
|
||||
#include <DB/DataStreams/BlocksListBlockInputStream.h>
|
||||
#include <DB/DataStreams/MergingAggregatedMemoryEfficientBlockInputStream.h>
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
#include <Poco/Net/NetException.h>
|
||||
|
||||
#include <common/ClickHouseRevision.h>
|
||||
#include <DB/Common/ClickHouseRevision.h>
|
||||
|
||||
#include <DB/Common/Stopwatch.h>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,7 +0,0 @@
|
||||
#include <common/ClickHouseRevision.h>
|
||||
#include "common/config_version.h"
|
||||
|
||||
namespace ClickHouseRevision
|
||||
{
|
||||
unsigned get() { return VERSION_REVISION; }
|
||||
}
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user