Elffuss BraidHub

kikocis/java-driver public

Don't set keyspace when adding new connection.

It's already handled in borrow.
Changeseta1636d85e74dc3054efee3b9f3ef3c123b375ea7a60cbd327af55254b06f7d7a
Authorolim7t <omichallat+github@gmail.com> · 2015-11-09 14:52 +01:00
Committerolim7t <omichallat+github@gmail.com> · 2015-11-09 15:03 +01:00
Parents91d08ee61054

Browse the files at this changeset

1 file changed

modified driver-core/src/main/java/com/datastax/driver/core/HostConnectionPool.java +0 −1
@@ -446,7 +446,6 @@
446446 }
447447 logger.debug("Creating new connection on busy pool to {}", host);
448448 newConnection = manager.connectionFactory().open(this);
449- newConnection.setKeyspace(manager.poolsState.keyspace);
450449 }
451450 connections.add(newConnection);
452451