You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set term ^;
create or alter function fn_a returns varchar(10) as
begin
return 'tratata';
end
^
create or alter procedure sp_a as
declare s varchar(10);
begin
s=fn_a();
end
^
set term ;^
commit;
QUIT;
2. Create .fbk from this database and restore it (e.g. into: tmptest_bad_debug_info.restored.fdb ) .
3. Make connect to restored database:
$ /opt/fb30trnk/bin/isql /var/db/fb30/tmptest_bad_debug_info.restored.fdb
Database: /var/db/fb30/tmptest_bad_debug_info.restored.fdb
SQL> execute procedure sp_a;
Bad debug info format
PS. Reproduced on:
LI-T3.0.0.31204
WI-T3.0.0.31202
1) Restoring in WI-T3.0.0.30809 finishes with:
gbak: WARNING:function FN_A is not defined
gbak: WARNING: module name or entrypoint could not be found
gbak: WARNING:function FN_A is not defined
gbak: WARNING: module name or entrypoint could not be found
2) Attempt `execute procedure sp_a;` - leads to:
Statement failed, SQLSTATE = 39000
invalid request BLR at offset 29
-function FN_A is not defined
-module name or entrypoint could not be found
-Error while parsing procedure SP_A's BLR
The text was updated successfully, but these errors were encountered:
Test Details: 1) Restoring in WI-T3.0.0.30809 finishes with:
gbak: WARNING:function FN_A is not defined
gbak: WARNING: module name or entrypoint could not be found
gbak: WARNING:function FN_A is not defined
gbak: WARNING: module name or entrypoint could not be found
2) Attempt `execute procedure sp_a;` - leads to:
Statement failed, SQLSTATE = 39000
invalid request BLR at offset 29
-function FN_A is not defined
-module name or entrypoint could not be found
-Error while parsing procedure SP_A's BLR
Submitted by: @pavel-zotov
1. Create new database and run the following DDL:
set term ^;
create or alter function fn_a returns varchar(10) as
begin
return 'tratata';
end
^
create or alter procedure sp_a as
declare s varchar(10);
begin
s=fn_a();
end
^
set term ;^
commit;
QUIT;
2. Create .fbk from this database and restore it (e.g. into: tmptest_bad_debug_info.restored.fdb ) .
3. Make connect to restored database:
$ /opt/fb30trnk/bin/isql /var/db/fb30/tmptest_bad_debug_info.restored.fdb
Database: /var/db/fb30/tmptest_bad_debug_info.restored.fdb
SQL> execute procedure sp_a;
Bad debug info format
PS. Reproduced on:
LI-T3.0.0.31204
WI-T3.0.0.31202
Commits: 306c404 FirebirdSQL/fbt-repository@bee6da8
====== Test Details ======
1) Restoring in WI-T3.0.0.30809 finishes with:
gbak: WARNING:function FN_A is not defined
gbak: WARNING: module name or entrypoint could not be found
gbak: WARNING:function FN_A is not defined
gbak: WARNING: module name or entrypoint could not be found
2) Attempt `execute procedure sp_a;` - leads to:
Statement failed, SQLSTATE = 39000
invalid request BLR at offset 29
-function FN_A is not defined
-module name or entrypoint could not be found
-Error while parsing procedure SP_A's BLR
The text was updated successfully, but these errors were encountered: