Skip to content

Commit

Permalink
fix problem occur with oracle 12.1 when run large sql query
Browse files Browse the repository at this point in the history
  • Loading branch information
sijms committed May 25, 2021
1 parent 9307515 commit 51cfd85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/accept_packet.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func newAcceptPacketFromData(packetData []byte) *AcceptPacket {
},
}
pck.buffer = packetData[int(pck.packet.dataOffset):]
if pck.sessionCtx.Version > 315 {
if pck.sessionCtx.Version >= 315 {
pck.sessionCtx.SessionDataUnit = binary.BigEndian.Uint32(packetData[32:])
pck.sessionCtx.TransportDataUnit = binary.BigEndian.Uint32(packetData[36:])
}
Expand Down

0 comments on commit 51cfd85

Please sign in to comment.