mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Switch to tuples
This commit is contained in:
parent
b63d2422d0
commit
62f85c0a3a
@ -567,9 +567,8 @@ private:
|
||||
<< " revision " << server_revision
|
||||
<< "." << std::endl << std::endl;
|
||||
|
||||
if (VERSION_MAJOR < server_version_major
|
||||
|| VERSION_MINOR < server_version_minor
|
||||
|| VERSION_PATCH < server_version_patch)
|
||||
if (std::make_tuple(VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH)
|
||||
< std::make_tuple(server_version_major, server_version_minor, server_version_patch))
|
||||
{
|
||||
std::cout << "ClickHouse client version is older than ClickHouse server. "
|
||||
<< "It may lack support for new features."
|
||||
|
Loading…
Reference in New Issue
Block a user