2
0

Rename *Rows.NextRow to *Rows.Next

Conform closer to database/sql
This commit is contained in:
Jack Christensen
2014-07-11 08:26:01 -05:00
parent d7529600e0
commit 646136fb44
4 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ func (r *Rows) Close() error {
}
func (r *Rows) Next(dest []driver.Value) error {
more := r.rows.NextRow()
more := r.rows.Next()
if !more {
if r.rows.Err() == nil {
return io.EOF