You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ca...@codespot.com on 2013/01/18 21:01:01 UTC
[cassandra-dbapi2] push by alek...@yeschenko.com - don't call
set_cql_version when connected to C* 1.2... on 2013-01-18 20:00 GMT
Revision: b4ef84e1d91b
Author: Aleksey Yeschenko <al...@yeschenko.com>
Date: Fri Jan 18 11:58:20 2013
Log: don't call set_cql_version when connected to C* 1.2
A fix for CASSANDRA-5172.
http://code.google.com/a/apache-extras.org/p/cassandra-dbapi2/source/detail?r=b4ef84e1d91b
Modified:
/cql/thrifteries.py
=======================================
--- /cql/thrifteries.py Thu Oct 18 16:19:52 2012
+++ /cql/thrifteries.py Fri Jan 18 11:58:20 2013
@@ -158,7 +158,7 @@
self.remote_thrift_version = tuple(map(int,
self.client.describe_version().split('.')))
- if self.cql_version:
+ if self.cql_version and self.remote_thrift_version <
MIN_THRIFT_FOR_CL_IN_PROTOCOL:
self.set_cql_version(self.cql_version)
def set_cql_version(self, cql_version):