@@ -27,16 +27,17 @@ func (c *connect) sendQuery(body string, o *QueryOptions) error {
27
27
c .debugf ("[send query] compression=%q %s" , c .compression , body )
28
28
c .buffer .PutByte (proto .ClientQuery )
29
29
q := proto.Query {
30
- ClientName : c .opt .ClientInfo .String (),
31
- ClientVersion : proto.Version {ClientVersionMajor , ClientVersionMinor , ClientVersionPatch }, //nolint:govet
32
- ID : o .queryID ,
33
- Body : body ,
34
- Span : o .span ,
35
- QuotaKey : o .quotaKey ,
36
- Compression : c .compression != CompressionNone ,
37
- InitialAddress : c .conn .LocalAddr ().String (),
38
- Settings : c .settings (o .settings ),
39
- Parameters : parametersToProtoParameters (o .parameters ),
30
+ ClientTCPProtocolVersion : ClientTCPProtocolVersion ,
31
+ ClientName : c .opt .ClientInfo .String (),
32
+ ClientVersion : proto.Version {ClientVersionMajor , ClientVersionMinor , ClientVersionPatch }, //nolint:govet
33
+ ID : o .queryID ,
34
+ Body : body ,
35
+ Span : o .span ,
36
+ QuotaKey : o .quotaKey ,
37
+ Compression : c .compression != CompressionNone ,
38
+ InitialAddress : c .conn .LocalAddr ().String (),
39
+ Settings : c .settings (o .settings ),
40
+ Parameters : parametersToProtoParameters (o .parameters ),
40
41
}
41
42
if err := q .Encode (c .buffer , c .revision ); err != nil {
42
43
return err
0 commit comments