mirror of https://github.com/mattn/go-sqlite3.git
No return error when invalid datetime.
This commit is contained in:
parent
7ea7c83912
commit
acf6044aaf
|
@ -331,7 +331,7 @@ func (rc *SQLiteRows) Next(dest []driver.Value) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
dest[i], err = time.Parse(SQLiteDatetimeFormat, s)
|
dest[i], err = time.Parse(SQLiteDatetimeFormat, s)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
dest[i] = s
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue