Issue Details (XML | Word | Printable)

Key: CORE-2182
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dmitry Yemanov
Reporter: Dmitry Yemanov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird Core

It's impossible to drop an existing UDF which name overlaps with a new built-in function name

Created: 11/Nov/08 02:14 PM   Updated: 26/Jan/09 10:12 AM
Component/s: Engine
Affects Version/s: 2.1.0, 2.1.1
Fix Version/s: 2.1.2, 2.5 Beta 1

Time Tracking:
Not Specified

Planning Status: Unspecified


 Description  « Hide
This is a common issue with migration to v2.1 and standard UDFs like ABS, ROUND, etc. The usual workaround is to quote the UDF name, i.e. DROP EXTERNAL FUNCTION "ABS", but it doesn't work for Dialect 1 databases.

Actually, the issue is not limited to migration only. Neither you can create an UDF that's expected to override the built-in function with the same name. And it's not about new built-in function names only, the issue is about any new non-reserved keyword introduced in the parser.

This limitation is caused by some UDF related tricks in our parser. But it can be easily improved to handle DDL properly.

 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.