Skip to content

Commit

Permalink
Remove using session before it is initialized in SingleHostQueryExecutor
Browse files Browse the repository at this point in the history
  • Loading branch information
sylwiaszunejko committed Oct 21, 2024
1 parent e0fb20b commit 2d48701
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ func NewSingleHostQueryExecutor(cfg *ClusterConfig) (e SingleHostQueryExecutor,

// If protocol version not set assume 4 and skip discovery
if c.ProtoVersion == 0 {
e.session.logger.Print("gocql: setting protocol version 4")
c.ProtoVersion = 4
}

Expand Down

0 comments on commit 2d48701

Please sign in to comment.