• Vamsikrishna Bhagi's avatar
    Bug# 20730103 BACKPORT 19688008 TO 5.1 · 3c02e6ec
    Vamsikrishna Bhagi authored
    Problem: UDF doesn't handle the arguments properly when they
             are of string type due to a misplaced break.
             The length of arguments is also not set properly
             when the argument is NULL.
    
    Solution: Fixed the code by putting the break at right place
              and setting the argument length to zero when the
              argument is NULL.
    3c02e6ec
item_func.cc 154 KB