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
As reported by Ivan Prenosil and other person before:
select udf(<params>) from tbl;
will fail if the udf's return type is a blob. Problem
comes from METD that gives a zero length to blob
fields in UDFs. The correct length for blobs is a
quad, 8 bytes. In turn, METD_get_function() gets zero
because when a udf is defined, ddl.c:put_field()
doesn't send length information for blobs to DYN.
The text was updated successfully, but these errors were encountered:
Since put_field() is a routine shared by every metadata
definition function, it was much safer to have METD set 8
bytes for udf's params being blobs in the run-time
structure, since this size is fixed and constant.
Submitted by: Claudio Valderrama C. (robocop)
Assigned to: Claudio Valderrama C. (robocop)
SFID: 534208#
Submitted By: robocop
As reported by Ivan Prenosil and other person before:
select udf(<params>) from tbl;
will fail if the udf's return type is a blob. Problem
comes from METD that gives a zero length to blob
fields in UDFs. The correct length for blobs is a
quad, 8 bytes. In turn, METD_get_function() gets zero
because when a udf is defined, ddl.c:put_field()
doesn't send length information for blobs to DYN.
The text was updated successfully, but these errors were encountered: