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
UDFs work with blobs calling functions passed in blobcallback structure. When exception happens inside such function it is thrown passing module bondaries. This may work if both UDF and engine use exactly same execptions handling, but in general case this is a serious bug.
Correct solution is to use UDR instead UDF - they do work correctly with exceptions. A fix for UDF is to catch exception in blobcallback function, store it in tdbb and re-raise after UDF completion.
Submitted by: @AlexPeshkoff
UDFs work with blobs calling functions passed in blobcallback structure. When exception happens inside such function it is thrown passing module bondaries. This may work if both UDF and engine use exactly same execptions handling, but in general case this is a serious bug.
Commits: 75a9613 e85e525 FirebirdSQL/fbt-repository@de00f50 FirebirdSQL/fbt-repository@8ab95e5
The text was updated successfully, but these errors were encountered: