Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Garbage value in RDB$FIELD_SUB_TYPE in RDB$FUNCTION_ARGUMENTS after altering function [CORE5535] #5803

Closed
firebird-automations opened this issue May 11, 2017 · 4 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @cincuranet

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>

Commits: f18eebb 48a9624

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 4.0 Alpha 1 [ 10731 ]

Fix Version: 3.0.3 [ 10810 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

QA Status: No test => Done successfully

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants