joao-r-reis commented on code in PR #1875: URL: https://github.com/apache/cassandra-gocql-driver/pull/1875#discussion_r2081647518
########## query_executor.go: ########## @@ -89,14 +90,17 @@ func (q *queryExecutor) executeQuery(qry ExecutableQuery) (*Iter, error) { // check if the host id is specified for the query, // if it is, the query should be executed at the corresponding host. if hostID := qry.GetHostID(); hostID != "" { + pool, ok := q.pool.getPoolByHostID(hostID) + if !ok { + return nil, ErrNoConnections + } Review Comment: remove lines 93-96, it's not needed as I explained before -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For additional commands, e-mail: pr-h...@cassandra.apache.org