• unknown's avatar
    A fix and test case for Bug#6096 "field.max_length is always zero for · 447fef48
    unknown authored
    numeric columns (stmt_resultset_metadata)"
    
    
    libmysql/libmysql.c:
      A fix for Bug#6096 "field.max_length is always zero for numeric columns
       (stmt_resultset_metadata)": set field->max_lenght for numeric
      columns when we set up skip_result functions. A minor drawback for this 
      approach is that field->max_length  can be not zero even if 
      STMT_ATTR_UPDATE_MAX_LENGTH is not set.
    sql-common/my_time.c:
      Fix valgrind warning.
    tests/client_test.c:
      A test case for Bug#6096 "field.max_length is always zero for numeric 
      columns (stmt_resultset_metadata)
    447fef48
libmysql.c 126 KB