Result of float formatting is different from sprintf
Status: Beta
Brought to you by:
jhnwkmn
Bug in a Open C's sprinf() function:
Test case: sprintf(to,"%g",12345.10 );
Result: 12345
Expected result: 12345.1
Alternative implementation for this is available but it gives too many decimals instead of one so test_bug4172 fails because of this. Shouldn't be problem with mysql clients though.
As soon as fixed to Open C, alternative implementation can be removed.
File: field.cc:3880