Skip to content

Commit

Permalink
fix udt_array > 245 as output parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sijms committed May 8, 2024
1 parent 91c0e75 commit f87ead8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions v2/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -1225,6 +1225,12 @@ func decodeObject(conn *Connection, parent *ParameterInfo, temporaryLobs *[][]by
if err != nil {
return err
}
if itemsLen == 0xFE {
itemsLen, err = session.GetInt(4, false, true)
if err != nil {
return err
}
}
pars := make([]ParameterInfo, 0, itemsLen)
for x := 0; x < itemsLen; x++ {
var tempPar = parent.cusType.attribs[0]
Expand Down

0 comments on commit f87ead8

Please sign in to comment.