=== modified file 'driver/utility.c' --- driver/utility.c 2009-11-17 19:14:58 +0000 +++ driver/utility.c 2009-12-17 09:57:27 +0000 @@ -122,9 +122,6 @@ irrec->length /= sizeof(SQL_WCHAR); irrec->octet_length= get_transfer_octet_length(stmt, field); irrec->display_size= get_display_size(stmt, field); - /* prevent overflowing */ - if (!capint32 || irrec->octet_length < INT_MAX32) - irrec->octet_length+= test(field->charsetnr != BINARY_CHARSET_NUMBER); irrec->precision= 0; /* Set precision for all non-char/blob types */ switch (irrec->type)