udf snippet: don't use my_error() in UDF init

It seems that we shold not use my_error() in UDF init. Without this
change, MariaDB 10.0.6 is crashed.