Skip to content
  • Roy Lyseng's avatar
    e61f1f07
    Bug#32404542: Item_func_sp::fix_fields problem · e61f1f07
    Roy Lyseng authored
    The problem occurs because we try to check the data type of argument 0,
    when the function takes no arguments. Argument count is only checked
    during execution, not during resolving.
    
    Fixed by moving argument count check to resolving.
    
    Reviewed by: Catalin Besleaga <catalin.besleaga@oracle.com>
    e61f1f07
    Bug#32404542: Item_func_sp::fix_fields problem
    Roy Lyseng authored
    The problem occurs because we try to check the data type of argument 0,
    when the function takes no arguments. Argument count is only checked
    during execution, not during resolving.
    
    Fixed by moving argument count check to resolving.
    
    Reviewed by: Catalin Besleaga <catalin.besleaga@oracle.com>
Loading