This should never have been here in the first place

This commit is contained in:
Tobie Morgan Hitchcock 2016-11-04 11:49:50 +00:00
parent 54ad8a16d9
commit 3016dfae99

View file

@ -843,7 +843,6 @@ func (this *CreateStatement) ExtendCORK() byte {
func (this *CreateStatement) MarshalCORK() (dst []byte, err error) { func (this *CreateStatement) MarshalCORK() (dst []byte, err error) {
b := bytes.NewBuffer(dst) b := bytes.NewBuffer(dst)
e := cork.NewEncoder(b) e := cork.NewEncoder(b)
e.Encode(this.Hard)
e.Encode(this.What) e.Encode(this.What)
e.Encode(this.Data) e.Encode(this.Data)
e.Encode(this.Echo) e.Encode(this.Echo)
@ -853,7 +852,6 @@ func (this *CreateStatement) MarshalCORK() (dst []byte, err error) {
func (this *CreateStatement) UnmarshalCORK(src []byte) (err error) { func (this *CreateStatement) UnmarshalCORK(src []byte) (err error) {
b := bytes.NewBuffer(src) b := bytes.NewBuffer(src)
d := cork.NewDecoder(b) d := cork.NewDecoder(b)
d.Decode(&this.Hard)
d.Decode(&this.What) d.Decode(&this.What)
d.Decode(&this.Data) d.Decode(&this.Data)
d.Decode(&this.Echo) d.Decode(&this.Echo)