From b60acd5f6feca50491cffa675690dbbdda92685f Mon Sep 17 00:00:00 2001 From: Adam Holmberg Date: Mon, 15 Mar 2021 14:56:59 -0500 Subject: [PATCH] Remove explicit protocol version in cqlsh patch by Adam Holmberg; reviewed by Mick Semb Wever for CASSANDRA-16508 --- bin/cqlsh.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/bin/cqlsh.py b/bin/cqlsh.py index d12c504627..a92412cbc5 100755 --- a/bin/cqlsh.py +++ b/bin/cqlsh.py @@ -461,8 +461,6 @@ class Shell(cmd.Cmd): kwargs = {} if protocol_version is not None: kwargs['protocol_version'] = protocol_version - else: - kwargs['protocol_version'] = 5 self.conn = Cluster(contact_points=(self.hostname,), port=self.port, cql_version=cqlver, auth_provider=self.auth_provider, ssl_options=sslhandling.ssl_settings(hostname, CONFIG_FILE) if ssl else None,