(ctx context.Context, oprot thrift.TProtocol)
| 4436 | } |
| 4437 | |
| 4438 | func (p *TSPrepareResp) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 4439 | if p.IsSetParameterCount() { |
| 4440 | if err := oprot.WriteFieldBegin(ctx, "parameterCount", thrift.I32, 2); err != nil { |
| 4441 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:parameterCount: ", p), err) } |
| 4442 | if err := oprot.WriteI32(ctx, int32(*p.ParameterCount)); err != nil { |
| 4443 | return thrift.PrependError(fmt.Sprintf("%T.parameterCount (2) field write error: ", p), err) } |
| 4444 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 4445 | return thrift.PrependError(fmt.Sprintf("%T write field end error 2:parameterCount: ", p), err) } |
| 4446 | } |
| 4447 | return err |
| 4448 | } |
| 4449 | |
| 4450 | func (p *TSPrepareResp) Equals(other *TSPrepareResp) bool { |
| 4451 | if p == other { |
no test coverage detected