Subject Re: Missing info on FB2 deprecated API functions
Author Glebas
--- In firebird-support@yahoogroups.com, "Ann W. Harrison"
<aharrison@...> wrote:
>
> The recommended procedure is that you allocate your own
> dpb and expand it following the normal rules for allocating
> and releasing structures in your programming language. The
> existing call has a memory leak and can cause more problems.
> It was designed as a service routine for gpre which uses it
> in a very restricted way and is safe. It should not have
> been generalized.

Is it correct to do this: ?

::isc_modify_dpb( &dpb, &dpblen, isc_dpb_user_name, username,
(short)strlen(username) );
::isc_modify_dpb( &dpb, &dpblen, isc_dpb_password, password,
(short)strlen(password) );

>
>
> Regards,
>
>
> An
>