(ctx context.Context, iprot thrift.TProtocol)
| 2421 | } |
| 2422 | |
| 2423 | func (p *TSOpenSessionResp) ReadField2(ctx context.Context, iprot thrift.TProtocol) error { |
| 2424 | if v, err := iprot.ReadI32(ctx); err != nil { |
| 2425 | return thrift.PrependError("error reading field 2: ", err) |
| 2426 | } else { |
| 2427 | temp := TSProtocolVersion(v) |
| 2428 | p.ServerProtocolVersion = temp |
| 2429 | } |
| 2430 | return nil |
| 2431 | } |
| 2432 | |
| 2433 | func (p *TSOpenSessionResp) ReadField3(ctx context.Context, iprot thrift.TProtocol) error { |
| 2434 | if v, err := iprot.ReadI64(ctx); err != nil { |
no test coverage detected