From acf6044aaf97c5e83c3dd244a0a81ca13069ca98 Mon Sep 17 00:00:00 2001 From: mattn Date: Wed, 26 Dec 2012 09:52:55 +0900 Subject: [PATCH] No return error when invalid datetime. --- sqlite3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlite3.go b/sqlite3.go index e966d35..05b91cd 100644 --- a/sqlite3.go +++ b/sqlite3.go @@ -331,7 +331,7 @@ func (rc *SQLiteRows) Next(dest []driver.Value) error { if err != nil { dest[i], err = time.Parse(SQLiteDatetimeFormat, s) if err != nil { - return err + dest[i] = s } } }