File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,10 @@ include(${PROJECT_SOURCE_DIR}/cmake/autogenerated_versions.txt)
3
3
set (VERSION_EXTRA "" CACHE STRING "" )
4
4
set (VERSION_TWEAK "" CACHE STRING "" )
5
5
6
- if (VERSION_TWEAK)
7
- string (CONCAT VERSION_STRING ${VERSION_STRING} "." ${VERSION_TWEAK} )
8
- endif ()
6
+ # NOTE(vnemkov): we rely on VERSION_TWEAK portion to be already present in VERSION_STRING
7
+ # if (VERSION_TWEAK)
8
+ # string(CONCAT VERSION_STRING ${VERSION_STRING} "." ${VERSION_TWEAK})
9
+ # endif ()
9
10
10
11
if (VERSION_EXTRA)
11
12
string (CONCAT VERSION_STRING ${VERSION_STRING} "." ${VERSION_EXTRA} )
@@ -19,5 +20,5 @@ set (VERSION_STRING_SHORT "${VERSION_MAJOR}.${VERSION_MINOR}")
19
20
math (EXPR VERSION_INTEGER "${VERSION_PATCH} + ${VERSION_MINOR} *1000 + ${VERSION_MAJOR} *1000000" )
20
21
21
22
if (CLICKHOUSE_OFFICIAL_BUILD)
22
- set (VERSION_OFFICIAL " (official build)" )
23
+ set (VERSION_OFFICIAL " (altinity build)" )
23
24
endif ()
Original file line number Diff line number Diff line change @@ -577,14 +577,14 @@ try
577
577
}
578
578
579
579
// / Advice the user to send it manually.
580
- if (std::string_view (VERSION_OFFICIAL).contains (" official build" ))
580
+ if (std::string_view (VERSION_OFFICIAL).contains (" altinity build" ))
581
581
{
582
582
const auto & date_lut = DateLUT::instance ();
583
583
584
584
// / Approximate support period, upper bound.
585
585
if (time (nullptr ) - date_lut.makeDate (2000 + VERSION_MAJOR, VERSION_MINOR, 1 ) < (365 + 30 ) * 86400 )
586
586
{
587
- LOG_FATAL (log, " Report this error to https://github.com/ClickHouse /ClickHouse/issues" );
587
+ LOG_FATAL (log, " Report this error to https://github.com/Altinity /ClickHouse/issues" );
588
588
}
589
589
else
590
590
{
You can’t perform that action at this time.
0 commit comments