Skip to content

Commit

Permalink
version: Bump Cassandra version to 2.2.8
Browse files Browse the repository at this point in the history
Advertise Cassandra 2.2.8 version to the drivers: CQL 3.3.1 language
version and CQL binary protocol version 4 support.
  • Loading branch information
penberg committed Jan 9, 2017
1 parent f0c28e1 commit 856d0e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cql3/query_processor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ logging::logger log("query_processor");

distributed<query_processor> _the_query_processor;

const sstring query_processor::CQL_VERSION = "3.2.1";
const sstring query_processor::CQL_VERSION = "3.3.1";

class query_processor::internal_state {
service::query_state _qs;
Expand Down
2 changes: 1 addition & 1 deletion cql_serialization_format.hh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ using cql_protocol_version_type = uint8_t;
class cql_serialization_format {
cql_protocol_version_type _version;
public:
static constexpr cql_protocol_version_type latest_version = 3;
static constexpr cql_protocol_version_type latest_version = 4;
explicit cql_serialization_format(cql_protocol_version_type version) : _version(version) {}
static cql_serialization_format latest() { return cql_serialization_format{latest_version}; }
static cql_serialization_format internal() { return latest(); }
Expand Down
2 changes: 1 addition & 1 deletion version.hh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public:
}

static version current() {
static version v(2, 1, 8);
static version v(2, 2, 8);
return v;
}

Expand Down

0 comments on commit 856d0e4

Please sign in to comment.