• Kristofer Pettersson's avatar
    Bug#11764310 - 57132: CONV FUNCTION CRASHES, NEGATIVE ARGUMENT TO MEMCPY · e9d23b5a
    Kristofer Pettersson authored
    Amendment to previous patch:
    Failure in CONV() should return NULL instead of
    empty set.
    When compiled on Windows or Solaris the function
    Item_func_conv::val_str() doesn't fail on 
    longlong2str() but finds an earlier exit path
    based on the attributes of the arguments.
    This exit path returns NULL on failure and as a
    consequence the original patch caused different
    test results depending on the OS used.
    e9d23b5a
item_strfunc.cc 102 KB