good morning!!!!

Skip to content
Snippets Groups Projects
Commit 75848385 authored by Peter Kieltyka's avatar Peter Kieltyka
Browse files

Merge pull request #126 from c2h5oh/bug/panic_terminator-less_int64array

Fixed panic on zero length, terminator-less int64array value
parents 316f4c07 e11150cc
No related branches found
No related tags found
No related merge requests found
......@@ -148,6 +148,9 @@ func (a *Int64Array) Scan(src interface{}) error {
if !ok {
return errors.New("Scan source was not []bytes")
}
if len(b) == 0 {
return nil
}
s := string(b)[1 : len(b)-1]
results := make([]int64, 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment