mirror of https://github.com/MariaDB/server
Browse Source
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.pull/374/head
1 changed files with 15 additions and 6 deletions
Loading…
Reference in new issue