mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-4.0' into cassandra-4.1
This commit is contained in:
commit
57e10b64b2
|
|
@ -543,7 +543,7 @@ class Shell(cmd.Cmd):
|
||||||
def check_build_versions(self):
|
def check_build_versions(self):
|
||||||
baseversion = self.connection_versions['build']
|
baseversion = self.connection_versions['build']
|
||||||
extra = baseversion.rfind('-')
|
extra = baseversion.rfind('-')
|
||||||
if extra:
|
if extra != -1:
|
||||||
baseversion = baseversion[0:extra]
|
baseversion = baseversion[0:extra]
|
||||||
if baseversion != build_version:
|
if baseversion != build_version:
|
||||||
print("WARNING: cqlsh was built against {}, but this server is {}. All features may not work!".format(build_version, baseversion))
|
print("WARNING: cqlsh was built against {}, but this server is {}. All features may not work!".format(build_version, baseversion))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue