diff --git a/dataset.go b/dataset.go index 9df986c..505120a 100644 --- a/dataset.go +++ b/dataset.go @@ -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 }