~linuxjedi/libdrizzle/5.1-tests

« back to all changes in this revision

Viewing changes to libdrizzle/column.cc

  • Committer: Andrew Hutchings
  • Date: 2012-12-26 10:02:04 UTC
  • Revision ID: andrew@linuxjedi.co.uk-20121226100204-2gj76fu02b3t4ark
Add column test case

Also fix size/max_size in column struct

Fixes bug #1093770 and bug #1093589

Show diffs side-by-side

added added

removed removed

Lines of Context:
543
543
 
544
544
    /* Skip one filler byte. */
545
545
    column->charset= (drizzle_charset_t)drizzle_get_byte2(con->buffer_ptr + 1);
546
 
    column->size= drizzle_get_byte4(con->buffer_ptr + 3);
 
546
    column->max_size= drizzle_get_byte4(con->buffer_ptr + 3);
547
547
 
548
548
    column->type= drizzle_column_type_t(con->buffer_ptr[7]);
549
549