Subject | Re: [Firebird-Architect] Re: External procedures: implementation proposal. |
---|---|
Author | Jim Starkey |
Post date | 2005-07-27T13:55:55Z |
evgeneyputilin wrote:
makes many activities much easier.
that you use the ResultSet definition already in use.
--
Jim Starkey
Netfrastructure, Inc.
978 526-1376
>HiMay I suggest you use addRef() and release() instead? Use counting
>
>
>
>>Why ExternalResource class exist? Why create a "close" method that
>>
>>
>we
>
>
>>know that will do "delete this"?
>>Use a virtual destructor.
>>
>>
>We can use virtual destructor only with memory release. We use close()
>for the same reason on which have been entered ib_util_malloc. In
>plugin code implementation like
>::close()
>{
> .....
> delete this;
>}
>
>
makes many activities much easier.
>>I think ResultSet::getValue should be replaced withUnless you have a strong argument to the contrary, I'm going to insist
>>
>>
>ResultSet::getValues
>
>
>>getting all the return values in one call.
>>
>>
that you use the ResultSet definition already in use.
--
Jim Starkey
Netfrastructure, Inc.
978 526-1376