update connection initialization to use LatestVersion instead of EarliestVersion
This commit is contained in:
+1
-1
@@ -277,7 +277,7 @@ func NewConnCtx(ctx context.Context) (ret *Conn) {
|
||||
ret = &Conn{}
|
||||
ret.SetState(proto_base.Handshaking)
|
||||
ret.SetCompressionThreshold(-1)
|
||||
err := ret.SetVersion(EarliestVersion)
|
||||
err := ret.SetVersion(LatestVersion)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user