if (!value_cached && !cache_value())
my_decimal2double(E_DEC_FATAL_ERROR, &decimal_value, &res);
Saturday, February 20, 2010
This is in 5.1.44. It is easy to make mistakes like this in a large and rapidly changing code base. Why not compile with -Werror to catch the problem?