You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by mc...@apache.org on 2021/03/16 19:43:22 UTC

[cassandra] branch trunk updated: Remove explicit protocol version in cqlsh

This is an automated email from the ASF dual-hosted git repository.

mck pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git


The following commit(s) were added to refs/heads/trunk by this push:
     new b60acd5  Remove explicit protocol version in cqlsh
b60acd5 is described below

commit b60acd5f6feca50491cffa675690dbbdda92685f
Author: Adam Holmberg <ad...@datastax.com>
AuthorDate: Mon Mar 15 14:56:59 2021 -0500

    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 d12c504..a92412c 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,


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org