Skip to content

Commit

Permalink
Signal usage of shard-aware driver
Browse files Browse the repository at this point in the history
  • Loading branch information
jul-stas committed Jun 26, 2020
1 parent 540021e commit 6feee59
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cluster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#include "speculative_execution.hpp"
#include "utils.hpp"

#include <iostream>

using namespace datastax;
using namespace datastax::internal::core;

Expand Down Expand Up @@ -235,6 +237,8 @@ Cluster::Cluster(const ControlConnection::Ptr& connection, ClusterListener* list
, local_dc_(local_dc)
, supported_options_(supported_options)
, is_recording_events_(settings.disable_events_on_startup) {
std::cout << "===== Using optimized driver!!! =====\n";

inc_ref();
connection_->set_listener(this);

Expand Down

0 comments on commit 6feee59

Please sign in to comment.