mirror of
https://github.com/glebarez/go-sqlite.git
synced 2025-09-28 20:52:08 +08:00
noRows: return proper io.EOF
This commit is contained in:
@@ -660,7 +660,7 @@ type noRows struct{}
|
||||
|
||||
func (noRows) Columns() []string { return nil }
|
||||
func (noRows) Close() error { return nil }
|
||||
func (noRows) Next([]driver.Value) error { return sql.ErrNoRows }
|
||||
func (noRows) Next([]driver.Value) error { return io.EOF }
|
||||
|
||||
type tx struct {
|
||||
c *conn
|
||||
|
Reference in New Issue
Block a user