Subject Re: [firebird-support] Re: api and grant problems
Author Ann W. Harrison
Nicholas Cain wrote:
>
>
> the dbp structure that came out of isc_expand_dpb was garbage. I've no
> idea why (there was a few shameful pointer mess-ups on my part, but
> even with those fixed it still didn't make any sense).

Don't use isc_expand_dpb. It's designed for use with the preprocessor
to handle the fact that the preprocessed code can't easily generate a
dpb for a username/password supplied at runtime. It's a lousy call,
leaks memory, and should never have been documented for use outside
preprocessed programs.


Regards,


Ann