lecosson / assql

Automatically exported from code.google.com/p/assql
0 stars 0 forks source link

BinaryQuery Seems Unstable #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Look into BinaryQuery for errors:

Error: Error #2030: End of file was encountered.
       at flash.utils::ByteArray/readBytes()
       at
com.maclema.mysql::Buffer/readLengthCodedData()[/Users/Matt/Documents/FlexBuilde
r3/assql/com/maclema/mysql/Buffer.as:142]
       at
com.maclema.mysql::QueryHandler/handleNextPacket()[/Users/Matt/Documents/FlexBui
lder3/assql/com/maclema/mysql/QueryHandler.as:119]
       at
com.maclema.mysql::QueryHandler/newPacket()[/Users/Matt/Documents/FlexBuilder3/a
ssql/com/maclema/mysql/QueryHandler.as:33]
       at
com.maclema.mysql::DataHandler/pushPacket()[/Users/Matt/Documents/FlexBuilder3/a
ssql/com/maclema/mysql/DataHandler.as:33]
       at
com.maclema.mysql::Connection/checkForPackets()[/Users/Matt/Documents/FlexBuilde
r3/assql/com/maclema/mysql/Connection.as:175]
       at
com.maclema.mysql::Connection/onSocketData()[/Users/Matt/Documents/FlexBuilder3/
assql/com/maclema/mysql/Connection.as:146]

Original issue reported on code.google.com by macl...@gmail.com on 22 May 2008 at 2:25

GoogleCodeExporter commented 9 years ago
This issue has been resolved in subversion and will be available in the next 
build
release.

Original comment by macl...@gmail.com on 22 May 2008 at 3:10

GoogleCodeExporter commented 9 years ago
The issue was in Buffer.as, readLengthCodedBinary() was reading to many bytes 
for the
253 response, thus providing a length longer than the packet causing an end of 
file
error.

Original comment by macl...@gmail.com on 22 May 2008 at 3:14

GoogleCodeExporter commented 9 years ago

Original comment by macl...@gmail.com on 22 May 2008 at 4:11