• Sergey Glukhov's avatar
    Bug#11765923 58937: MANY VALGRIND ERRORS AFTER GROUPING BY RESULT OF DECIMAL COLUMN FUNCTION · 71bb332a
    Sergey Glukhov authored
    Bug#11764671  57533: UNINITIALISED VALUES IN COPY_AND_CONVERT (SQL_STRING.CC) WITH CERTAIN CHA
    When ROUND evaluates decimal result it uses Item::decimal
    value as fraction value for the result. In some cases
    Item::decimal is greater than real result fraction value
    and uninitialised memory of result(decimal) buffer can be
    used in further calculations. Issue is introduced by
    Bug33143 fix. The fix is to remove erroneous assignment.
    71bb332a
item_func.cc 153 KB