Under terms of
MDEV-19632 we're introducing qualified data types, e.g.:
This syntax is needed for disambiguation.
In stored routines this syntax is not needed for disambiguation, because sql_mode is stored together with the SP definition, so data types are unambiguously parsed according to the SP sql_mode.
Anyway, for symmetry purposes, let's add qualified syntax inside SP definitions, to make qualified types work in:
- Function return type
- Parameter type
- Local variable type