Skip to content
  • Tor Didriksen's avatar
    66767417
    Bug#21447969 FILTER USING TRIM RESULTS IN CORRECT · 66767417
    Tor Didriksen authored
    Problem: a where predicate containing both trim(leading) and trim(trailing)
    was incorrectly optimized away.
    
    Solution: Change Item_func_trim::func_name() to return different results
    for leading and trailing. Introduce trim_func_name() for printing
    the correct function name for Item_func_trim::print()
    66767417
    Bug#21447969 FILTER USING TRIM RESULTS IN CORRECT
    Tor Didriksen authored
    Problem: a where predicate containing both trim(leading) and trim(trailing)
    was incorrectly optimized away.
    
    Solution: Change Item_func_trim::func_name() to return different results
    for leading and trailing. Introduce trim_func_name() for printing
    the correct function name for Item_func_trim::print()
Loading