1
0
Fork 0

reWrite another error at query time

master
Philip O'Toole 8 months ago
parent 59a4723fce
commit a1e40345f1

@ -846,6 +846,7 @@ func (db *DB) queryStmtWithConn(ctx context.Context, stmt *command.Statement, xT
ptrs[i] = &dest[i]
}
if err := rs.Scan(ptrs...); err != nil {
err = rewriteContextTimeout(err, ErrQueryTimeout)
return nil, err
}
params, err := normalizeRowValues(dest, xTypes)

Loading…
Cancel
Save