Subject | Re: [ib-support] Questions about Firebird's API |
---|---|
Author | C R Zamana |
Post date | 2002-03-13T19:50:31Z |
On Wed, 2002-03-13 at 16:25, Ann W. Harrison wrote:
is about the "call sequence" regards to the functions
isc_dsql_free_statment() and isc_commit_transaction(),
for example. Which is the correct sequence?
I'm asking because I'm in trouble with memory
leaking problems. Anyway, after some tests, it seems that
the problem is in the "prepare" section of my process, e.g.,
when I need to allocate the XSQLDA structure.
Thank you.
Best regards.
> At 03:48 PM 3/13/2002 -0300, C R Zamana wrote:That's ok about commit or rollback. What I'm asking
>
>
> >1) What is the correct sequence to finish a transaction using
> >the functions below?
> >
> >isc_dsql_free_statment()
> >isc_commit_transaction()/isc_rollback_transaction()
>
> That rather depends on whether you want to commit or
> undo your changes. If nothing has changed, commit is
> preferred.
is about the "call sequence" regards to the functions
isc_dsql_free_statment() and isc_commit_transaction(),
for example. Which is the correct sequence?
I'm asking because I'm in trouble with memory
leaking problems. Anyway, after some tests, it seems that
the problem is in the "prepare" section of my process, e.g.,
when I need to allocate the XSQLDA structure.
Thank you.
Best regards.