~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/row.c

  • Committer: Andrew Hutchings
  • Date: 2010-10-13 19:37:34 UTC
  • mto: (1848.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 1849.
  • Revision ID: andrew@linuxjedi.co.uk-20101013193734-fa9spt90r606mhuk
Add David Mikulec's fix in bug#643772 which fixes the problem which caused the revert of libdrizzle rev.147

Show diffs side-by-side

added added

removed removed

Lines of Context:
158
158
{
159
159
  drizzle_log_debug(con->drizzle, "drizzle_state_row_read");
160
160
 
161
 
  if (con->packet_size != 0 && con->buffer_size < con->packet_size)
 
161
  if (con->packet_size != 0 && con->buffer_size < con->packet_size && 
 
162
    con->buffer_size < 5)
162
163
  {
163
164
    drizzle_state_push(con, drizzle_state_read);
164
165
    return DRIZZLE_RETURN_OK;