8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 01:23:03 +01:00

Fixed CORE-2182: It's impossible to drop an existing UDF which name overlaps with a new built-in function name.

This commit is contained in:
dimitr 2008-11-11 17:37:57 +00:00
parent dd3107fd8a
commit 8dd79adc6d

View File

@ -4688,9 +4688,9 @@ trim_specification : BOTH
{ $$ = MAKE_const_slong (blr_trim_leading); }
;
udf : symbol_UDF_name '(' value_list ')'
udf : symbol_UDF_call_name '(' value_list ')'
{ $$ = make_node (nod_udf, 2, $1, $3); }
| symbol_UDF_name '(' ')'
| symbol_UDF_call_name '(' ')'
{ $$ = make_node (nod_udf, 1, $1); }
;
@ -4822,7 +4822,10 @@ null_value : KW_NULL
/* Performs special mapping of keywords into symbols */
symbol_UDF_name : SYMBOL
symbol_UDF_call_name : SYMBOL
;
symbol_UDF_name : valid_symbol_name
;
symbol_blob_subtype_name : valid_symbol_name