| 4425 | } |
| 4426 | |
| 4427 | func (p *TSPrepareResp) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 4428 | if err := oprot.WriteFieldBegin(ctx, "status", thrift.STRUCT, 1); err != nil { |
| 4429 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:status: ", p), err) } |
| 4430 | if err := p.Status.Write(ctx, oprot); err != nil { |
| 4431 | return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.Status), err) |
| 4432 | } |
| 4433 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 4434 | return thrift.PrependError(fmt.Sprintf("%T write field end error 1:status: ", p), err) } |
| 4435 | return err |
| 4436 | } |
| 4437 | |
| 4438 | func (p *TSPrepareResp) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 4439 | if p.IsSetParameterCount() { |