Garbage value in RDB$FIELD_SUB_TYPE in RDB$FUNCTION_ARGUMENTS after altering
function
-------------------------------------------------------------------------------------
Key: CORE-5535
URL: http://tracker.firebirdsql.org/browse/CORE-5535
Project: Firebird Core
Issue Type: Bug
Components: Engine
Affects Versions: 3.0.2
Environment: Win10 CU x64, FB x64
Reporter: Jiri Cincura
Altering the function to same function changes the RDB$FIELD_SUB_TYPE to
garbage value.
Here's repro:
$ .\isql.exe
Use CONNECT or CREATE DATABASE to specify a database
SQL> create database 'localhost:test' user 'SYSDBA' password 'masterkey';
SQL> create function test (i int) returns int as begin end;
SQL> commit;
SQL> select rdb$field_sub_type from rdb$function_arguments;
RDB$FIELD_SUB_TYPE
==================
0
0
SQL> create or alter function test (i int) returns int as begin end;
SQL> commit;
SQL> select rdb$field_sub_type from rdb$function_arguments;
RDB$FIELD_SUB_TYPE
==================
17490
17490
SQL>
--
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
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel