I've made another patch, so PTAL
> * built-in functions use IDENT_sys (no keywords allowed) in function_call_generic
> * functions with keyword names are explicitly listed in function_call_conflict.
> * stored function invocations use IDENT_sys via function_call_generic
>
> but
>
> * stored function declaration uses sp_name (that is keyword_ident) rule
That's right.
> But also, I expect it to make function_call_conflict redundant, because
> all names from there should be in IDENT_funcname.
I did all i could moving names from the function_call_conflict to the keyword_funcname,
and also from function_call_nonkeyword to the item_create.cc
But couldn't eliminate either as it either creates conflicts in our syntax.or
the syntax of calling of these functions is unusual.
I think i know how to get rid at least of most of these entries if not all, but i doubt
it's a good idea to do this as a part of this bugfix.
Finally these left are mostly SQL function calls so creating SP with this name shouldn't be encouraged.
Best regards.
HF