Skip to content

Commit

Permalink
Better usability for server versions in ClickHouse Cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-milovidov committed Feb 6, 2024
1 parent f68d7f9 commit 8a428eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/client/Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ void Client::connect()
<< "It may lack support for new features." << std::endl
<< std::endl;
}
else if (client_version_tuple > server_version_tuple)
else if (client_version_tuple > server_version_tuple && server_display_name != "clickhouse-cloud")
{
std::cout << "ClickHouse server version is older than ClickHouse client. "
<< "It may indicate that the server is out of date and can be upgraded." << std::endl
Expand Down

0 comments on commit 8a428eb

Please sign in to comment.