Rows does not expose MsgReader

scan-io
Jack Christensen 2014-07-12 11:47:10 -05:00
parent 546a2fc670
commit 70c32fadc6
1 changed files with 1 additions and 5 deletions

View File

@ -43,10 +43,6 @@ func (rows *Rows) FieldDescriptions() []FieldDescription {
return rows.fields
}
func (rows *Rows) MsgReader() *MsgReader {
return rows.mr
}
func (rows *Rows) close() {
if rows.pool != nil {
rows.pool.Release(rows.conn)
@ -267,7 +263,7 @@ func (rows *Rows) Values() ([]interface{}, error) {
// if it is not an intrinsic type then return the text
switch fd.FormatCode {
case TextFormatCode:
values = append(values, rows.MsgReader().ReadString(size))
values = append(values, rows.mr.ReadString(size))
case BinaryFormatCode:
return nil, errors.New("Values cannot handle binary format non-intrinsic types")
default: