移除dataSet.closed判断
This commit is contained in:
parent
cc336fdc0a
commit
e6b6ca73a1
@ -55,9 +55,10 @@ func (this *DataSet) init(rows *sql.Rows) {
|
||||
}
|
||||
|
||||
func (this *DataSet) Next() bool {
|
||||
/*
|
||||
if this.closed {
|
||||
panic("NewDataSet is closed")
|
||||
}
|
||||
}*/
|
||||
if this.numOfReaded >= int64(len(this.rows)) {
|
||||
return false
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user