| 2147 | } |
| 2148 | |
| 2149 | func (p *TSExecuteStatementResp) writeField15(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 2150 | if p.IsSetDatabase() { |
| 2151 | if err := oprot.WriteFieldBegin(ctx, "database", thrift.STRING, 15); err != nil { |
| 2152 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 15:database: ", p), err) } |
| 2153 | if err := oprot.WriteString(ctx, string(*p.Database)); err != nil { |
| 2154 | return thrift.PrependError(fmt.Sprintf("%T.database (15) field write error: ", p), err) } |
| 2155 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 2156 | return thrift.PrependError(fmt.Sprintf("%T write field end error 15:database: ", p), err) } |
| 2157 | } |
| 2158 | return err |
| 2159 | } |
| 2160 | |
| 2161 | func (p *TSExecuteStatementResp) writeField16(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 2162 | if p.IsSetTableModel() { |