• unknown's avatar
    Fix for BUG#7455. · 8487aa5a
    unknown authored
    The fix checks if the trim string argument is NULL. If so, the standard
    mandates that the function result must be also NULL.
    
    
    mysql-test/r/func_str.result:
      added test result
    mysql-test/t/func_str.test:
      Added test for NULL arguments.
    sql/item_strfunc.cc:
      Test if the trim argument is NULL.
    8487aa5a
item_strfunc.cc 71.5 KB