• unknown's avatar
    Bug#36031 Test funcs_1.<engine>_views failing on Windows · 7ecc40cc
    unknown authored
    The problem is a hack in mysqltest.c::append_field that modifies
    the exponential notation of floating point numbers by removing a
    zero after the the symbol 'e' (eg: 00001.2e+018 is converted to
    00001.2e+18) but does not take into account the zerofill affect
    in the start of the string.
    
    The solution is to check if the field was zero filled and insert
    a zero at the start of the string if a zero after the exponential
    notation symbol is removed.
    
    
    client/mysqltest.c:
      Preserve zerofill affect when removing a zero after
      the exponential notation symbol.
    7ecc40cc
mysqltest.c 226 KB