|
@@ -3,7 +3,6 @@ package xugu
|
|
|
import (
|
|
|
"database/sql/driver"
|
|
|
"encoding/binary"
|
|
|
- "fmt"
|
|
|
"io"
|
|
|
"math"
|
|
|
"reflect"
|
|
@@ -38,7 +37,7 @@ func (row *xuguRows) Next(dest []driver.Value) error {
|
|
|
case fieldType_BINARY,
|
|
|
fieldType_CLOB,
|
|
|
fieldType_BLOB:
|
|
|
- fmt.Println(row.results.Values[j][row.results.rowIdx].Col_Data)
|
|
|
+ //fmt.Println(row.results.Values[j][row.results.rowIdx].Col_Data)
|
|
|
dest[j] = row.results.Values[j][row.results.rowIdx].Col_Data
|
|
|
|
|
|
case fieldType_INTERVAL_Y, fieldType_INTERVAL_M, fieldType_INTERVAL_D,
|
|
@@ -156,7 +155,7 @@ func (row *xuguRows) Columns() []string {
|
|
|
}
|
|
|
|
|
|
func (row *xuguRows) ColumnTypeScanType(index int) reflect.Type {
|
|
|
- fmt.Println(">>>>>ColumnTypeScanType ")
|
|
|
+ //fmt.Println(">>>>>ColumnTypeScanType ")
|
|
|
|
|
|
return row.results.Fields[index].scanType()
|
|
|
}
|