Open GoogleCodeExporter opened 9 years ago
Please update for the same ASAP as we are blocked due to this issue. Thanks.
Original comment by vinod.ty...@gmail.com
on 17 Mar 2010 at 3:44
I've come across this issue as well.
If the first field in the result is blank then the result data is of the wrong
type (MySqlResponse where affectedRows = <length of second field> and insertID
= <ASCII code of first char of second field> ). This can be confirmed with a
very simple query:
select '', 'abcdefg';
This gives us:
affectedRows 7 <length of 'abcdefg'>
insertID 97 <'a'>
My workaround where I can expect this to happen is to use a query like this:
select 1 as `dummy`, t.* from testtbl t;
Original comment by sha...@coderscollective.com
on 10 Jan 2013 at 1:06
In case anyone can get near fixing this, the issue lies in QueryHandler.as,
lines 142/144:
142: var field_count:int = packet.readByte() & 0xFF;
143:
144: if ( field_count == 0x00 )
In our case the field_count is being read as 0 when the first field is blank.
Original comment by sha...@coderscollective.com
on 10 Jan 2013 at 1:19
Original issue reported on code.google.com by
vinod.ty...@gmail.com
on 17 Mar 2010 at 6:44