Menu

#80 Exception at MySqlDataReader.Close()

open
nobody
None
5
2004-01-31
2004-01-31
Anonymous
No

About 10% of the situatians, exception is thrown
Unknown transmission status: sequence out of order
at ByteFX.Data.MySqlClient.Driver.ReadPacket()
at
ByteFX.Data.MySqlClient.MySqlDataReader.ClearCurrentR
esult()
at ByteFX.Data.MySqlClient.MySqlDataReader.Close()
.....

I want to state clear, that this is not thrown on every
execution of the program, and in 10 times opening
reader with abolutely same query it is happening just 2-3
times.
Driver.ReadPacket()
I assume, when there is a peekPacked (peekedPacket !
= null) everything is alright, but when calling
ReadPacketInternal(), packet.Sequence isn't set right,
so the check (packet.Sequence != packetSeq) fails and
the exception is thrown.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.