CALL Statement

Use of this statement to invoke a function is deprecated.

To call a function, use an assignment statement to invoke the function and assign its result to a variable. For example:
DECLARE varname INT;
SET varname=test( );