You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Create a new database table.
2. Enter a new record in the table having first field blank.
3. Fetch the row from database.
What is the expected output? What do you see instead?
A ResultSet should be returned with having the row data. However it is
returning MySqlResponse.
Please provide any additional information below.
According to my case, I have a database table for storing settings details
for the application and it have first field as companyName of type
char(255). If companyName have the value '' and rest of the fields have
proper data then I got MySqlResponse rather then ResultSet object. If I
made changes in database for companyName say 'xyz' then it starts working
fine and I got ResultSet object.
According to my exploration.
When first field have '' data then under QueryHandler class inside
handleNextPacket() method it gets field_count = 0 while reading bytes and
assumes it as response packet rather then data packet and return RESPONSE
to all the responders.
Original issue reported on code.google.com by [email protected] on 17 Mar 2010 at 6:44
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 17 Mar 2010 at 6:44The text was updated successfully, but these errors were encountered: