Issue Details (XML | Word | Printable)

Key: CORE-4570
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Adriano dos Santos Fernandes
Reporter: Vlad Khorsun
Votes: 0
Watchers: 1
Operations

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

Wrong error at ALTER PACKAGE

Created: 07/Oct/14 02:20 PM   Updated: 23/Sep/15 11:29 AM
Component/s: None
Affects Version/s: 3.0 Alpha 2
Fix Version/s: 3.0 Beta 1

QA Status: Done successfully


 Description  « Hide
1. Create package and its body:

create package p1
as
begin
  function f(x int) returns int;
end

create package body p1
as
begin
  function f1(x int) returns int;

  function f(x int) returns int
  as
  begin
    return f1(x) * x;
  end

  function f1(x int) returns int
  as
  begin
     return 1;
  end
end

commit

Result is OK


2. Alter package

alter package p1
as
begin
  function f(x int) returns int;
  function g(x int) returns int;
end
commit

Result is:

This operation is not defined for system tables.
unsuccessful metadata update.
cannot delete.
UDF P1.F1.
there are 1 dependencies.



 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Adriano dos Santos Fernandes made changes - 07/Oct/14 02:37 PM
Field Original Value New Value
Assignee Adriano dos Santos Fernandes [ asfernandes ]
Adriano dos Santos Fernandes made changes - 07/Oct/14 02:49 PM
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.0 Beta 1 [ 10332 ]
Resolution Fixed [ 1 ]
Pavel Zotov made changes - 28/May/15 03:16 PM
Status Resolved [ 5 ] Resolved [ 5 ]
QA Status Done successfully
Pavel Cisar made changes - 23/Sep/15 11:29 AM
Status Resolved [ 5 ] Closed [ 6 ]