Re: [go-nuts] Upgrade to Go1.16 from Go1.14 broke my query

2021-06-25 Thread Hugh Myrie
Yes. It seems that's the case. I'm floored. On Fri, Jun 25, 2021 at 7:17 PM Hugh Myrie wrote: > Bypassing the error returns an empty result set. > > Additional information: "string right truncation /expected length 0, > actual 3". In the DB the Code field is varchar(3) and Description is > Varc

Re: [go-nuts] Upgrade to Go1.16 from Go1.14 broke my query

2021-06-25 Thread Hugh Myrie
Bypassing the error returns an empty result set. Additional information: "string right truncation /expected length 0, actual 3". In the DB the Code field is varchar(3) and Description is Varchar(30). It seems to have something to do with the return field size and the size expected in Golang.

Re: [go-nuts] Upgrade to Go1.16 from Go1.14 broke my query

2021-06-25 Thread Roland Müller
Hello, Am Do., 24. Juni 2021 um 18:14 Uhr schrieb Hugh Myrie : > I recently updated my Go version to 1.16 and for all my queries I now get > an error: > > {"error":"Dynamic SQL Error\nSQL error code = -303\narithmetic exception, > numeric overflow, or string truncation\nstring right truncation\n"

[go-nuts] Upgrade to Go1.16 from Go1.14 broke my query

2021-06-24 Thread Hugh Myrie
I recently updated my Go version to 1.16 and for all my queries I now get an error: {"error":"Dynamic SQL Error\nSQL error code = -303\narithmetic exception, numeric overflow, or string truncation\nstring right truncation\n"} I'm using the package: _ "github.com/nakagami/firebirdsql" The fo