Not checked the availability of the UDF
---------------------------------------

                 Key: CORE-6333
                 URL: http://tracker.firebirdsql.org/browse/CORE-6333
             Project: Firebird Core
          Issue Type: Bug
          Components: UDF
    Affects Versions: 3.0.5
         Environment: Windows
            Reporter: Anton Shchyrov


When a new UDF function is created, its presence in the system is not checked

{code}
SQL> connect localhost:D:\DB\test.fb user 'SYSDBA' password 'masterkey';
Database: localhost:D:\DB\test.fb, User: SYSDBA
SQL> DECLARE EXTERNAL FUNCTION UDF_TEST RETURNS SMALLINT ENTRY_POINT 'AnyPoint' 
MODULE_NAME 'not_exists.dll';
SQL> COMMIT;
SQL> SELECT UDF_TEST() FROM rdb$database;
Statement failed, SQLSTATE = 39000
invalid request BLR at offset 36
-function UDF_TEST is not defined
-module name or entrypoint could not be found
SQL>
{code}

Also, no messages are displayed when restoring the database, if the udf dll 
library is missing

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to