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