SQLite 3.44.0.

This commit is contained in:
Nuno Cruces
2023-11-02 15:50:43 +00:00
parent 0bcdb712ba
commit a7c00eb150
12 changed files with 106 additions and 131 deletions

View File

@@ -479,11 +479,7 @@ func (r *rows) Next(dest []driver.Value) error {
case sqlite3.TEXT:
dest[i] = stringOrTime(r.Stmt.ColumnRawText(i))
case sqlite3.NULL:
if buf, ok := dest[i].([]byte); ok {
dest[i] = buf[0:0]
} else {
dest[i] = nil
}
dest[i] = nil
default:
panic(util.AssertErr())
}