We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fe593a commit 5cd6a94Copy full SHA for 5cd6a94
driver-core/src/main/java/com/datastax/driver/core/Connection.java
@@ -382,9 +382,7 @@ private ListenableFuture<Void> checkClusterName(
382
383
DefaultResultSetFuture clusterNameFuture =
384
new DefaultResultSetFuture(
385
- null,
386
- protocolVersion,
387
- new Requests.Query("select cluster_name from system.local where key = 'local'"));
+ null, protocolVersion, new Requests.Query("select cluster_name from system.local"));
388
try {
389
write(clusterNameFuture);
390
return GuavaCompatibility.INSTANCE.transformAsync(
0 commit comments