Procedure suspend check may cause restore to fail [CORE3003] #3385
Submitted by: @ibaseru
Is related to QA279
Firebird 2.5 have new funtionality, that checks existance of SUSPEND statement in procedure being called via SELECT statement. If procedure does not contain SUSPEND, SELECTing from procedure will cause an error:
Procedure ... is not selectable (it does not contain a SUSPEND statement).
This seems to be ok, but same error can happen during RESTORE, and restore will fail.
This will not cause any error, because dependency from procedure B and procedure A call method is not checked.
4. make backup, make restore. You will get ERROR
gbak: ERROR:invalid request BLR at offset 30
This is exactly the same problem, that exists with the change of parameter number or type of the procedure being called from another procedure. So, we have new one case of non-restorable backup.
I suggest to change this at least from ERROR to WARNING.
The text was updated successfully, but these errors were encountered:
Commented by: @hvlad
Small note, fix was not completely correct and gbak show no warnings :)
- PAR_warning(Arg::Gds(isc_illegal_prc_type) << Arg::Str(name));