Skip to content

Commit 98010fb

Browse files
authored
Merge pull request #854 from Altinity/fixes/antlya-25.3_version_fix
25.3 Antalya version fix
2 parents a5892c1 + bd8760d commit 98010fb

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

cmake/version.cmake

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ include(${PROJECT_SOURCE_DIR}/cmake/autogenerated_versions.txt)
33
set(VERSION_EXTRA "" CACHE STRING "")
44
set(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

1011
if (VERSION_EXTRA)
1112
string(CONCAT VERSION_STRING ${VERSION_STRING} "." ${VERSION_EXTRA})
@@ -19,5 +20,5 @@ set (VERSION_STRING_SHORT "${VERSION_MAJOR}.${VERSION_MINOR}")
1920
math (EXPR VERSION_INTEGER "${VERSION_PATCH} + ${VERSION_MINOR}*1000 + ${VERSION_MAJOR}*1000000")
2021

2122
if(CLICKHOUSE_OFFICIAL_BUILD)
22-
set(VERSION_OFFICIAL " (official build)")
23+
set(VERSION_OFFICIAL " (altinity build)")
2324
endif()

src/Common/SignalHandlers.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
{

0 commit comments

Comments
 (0)