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)
33set (VERSION_EXTRA "" CACHE STRING "" )
44set (VERSION_TWEAK "" CACHE STRING "" )
55
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 ()
910
1011if (VERSION_EXTRA)
1112 string (CONCAT VERSION_STRING ${VERSION_STRING} "." ${VERSION_EXTRA} )
@@ -19,5 +20,5 @@ set (VERSION_STRING_SHORT "${VERSION_MAJOR}.${VERSION_MINOR}")
1920math (EXPR VERSION_INTEGER "${VERSION_PATCH} + ${VERSION_MINOR} *1000 + ${VERSION_MAJOR} *1000000" )
2021
2122if (CLICKHOUSE_OFFICIAL_BUILD)
22- set (VERSION_OFFICIAL " (official build)" )
23+ set (VERSION_OFFICIAL " (altinity build)" )
2324endif ()
Original file line number Diff line number Diff line change @@ -577,14 +577,14 @@ try
577577 }
578578
579579 // / 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" ))
581581 {
582582 const auto & date_lut = DateLUT::instance ();
583583
584584 // / Approximate support period, upper bound.
585585 if (time (nullptr ) - date_lut.makeDate (2000 + VERSION_MAJOR, VERSION_MINOR, 1 ) < (365 + 30 ) * 86400 )
586586 {
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" );
588588 }
589589 else
590590 {
You can’t perform that action at this time.
0 commit comments