Subject | Re: By Description (was: Re: [ib-support] Unverified Firebird |
---|---|
Author | Claudio Valderrama C. |
Post date | 2001-09-05T01:34:34Z |
"Doug Chamberlin" <dchamberlin@...> wrote in message
news:4.3.2.7.2.20010904175236.020b6540@......
"Blob passing structure". The definitions are there. Both the blob passing
structure (different than the internal blob struct) and the descriptor (same
for internal and external use) have been defined. Basically you get the
type, the scale, the length, the sub_type (or charset+collation, depending
on the type), the flags and the address of the data. The three available
flags are documented, too and one of them is DSC_null.
The FBUDF is a first demonstration of descriptor usage.
C.
--
Claudio Valderrama C. - http://www.cvalde.com - http://www.firebirdSql.org
Independent developer
Owner of the Interbase® WebRing
news:4.3.2.7.2.20010904175236.020b6540@......
> At 9/4/2001 04:25 PM (Tuesday), Martijn Tonies wrote:Look into jrd\ibase.h under
> > > > where can I find information about UDFs arguments 'by descriptor'?
>
>
> If we had a standard descriptor definition and FB could be told to pass
> arguments to UDFs using it then the UDFs could detect NULLs being passed.
> This would be a big improvement! If UDFs could also return values via
> descriptors they could return NULL states as well.
"Blob passing structure". The definitions are there. Both the blob passing
structure (different than the internal blob struct) and the descriptor (same
for internal and external use) have been defined. Basically you get the
type, the scale, the length, the sub_type (or charset+collation, depending
on the type), the flags and the address of the data. The three available
flags are documented, too and one of them is DSC_null.
The FBUDF is a first demonstration of descriptor usage.
C.
--
Claudio Valderrama C. - http://www.cvalde.com - http://www.firebirdSql.org
Independent developer
Owner of the Interbase® WebRing