From 51cfd85ab672d1880482340ce8a651834a137154 Mon Sep 17 00:00:00 2001 From: Samy Sultan Date: Tue, 25 May 2021 13:58:48 +0200 Subject: [PATCH] fix problem occur with oracle 12.1 when run large sql query --- network/accept_packet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/accept_packet.go b/network/accept_packet.go index 96f3d461..ff3826a2 100644 --- a/network/accept_packet.go +++ b/network/accept_packet.go @@ -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:]) }