Subject | RE: [firebird-support] Re: Savepoints with IBX and Delphi 5 |
---|---|
Author | Gustavo |
Post date | 2006-08-26T16:45:06Z |
Thank you for your answer.
Gustavo
----- Mensaje original -----
De: Adam
Para: firebird-support@yahoogroups.com
Enviado: Viernes, 25 de Agosto de 2006 21:37
Asunto: [firebird-support] Re: Savepoints with IBX and Delphi 5
Gustavo
----- Mensaje original -----
De: Adam
Para: firebird-support@yahoogroups.com
Enviado: Viernes, 25 de Agosto de 2006 21:37
Asunto: [firebird-support] Re: Savepoints with IBX and Delphi 5
--- In firebird-support@yahoogroups.com, "Gustavo" <gusm@...> wrote:
>
> You are right. That was the first thing I tried and it didn't work.
So I was trying to use isc_start_savepoint, etc., but when I call
GetProcAddress with 'isc_start_savepoint', I got an error. Apparently
the fbclient.dll (renamed gds32.dll) doesn't have this function (and
the others to work with savepoints). But, after that I found that I
was calling "SAVEPOINT BLAH" with the right Transaction but with the
wrong DataBase. I fixed this and now everything works OK.
>
> Another question. Do I have to call RELEASE SAVEPOINT BLAH, or when
I rollback or commit the Transaction, every savepoints are
automatically released?
You should release the savepoint once you are past the stage in your
transaction where you no longer need to rollback to it, but ending the
transaction through a commit or rollback implicitly cleans it up.
Adam
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Visit http://www.firebirdsql.org and click the Resources item
on the main (top) menu. Try Knowledgebase and FAQ links !
Also search the knowledgebases at http://www.ibphoenix.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Yahoo! Groups Links
__________ InformaciĆ³n de NOD32, revisiĆ³n 1.1725 (20060825) __________
Este mensaje ha sido analizado con NOD32 antivirus system
http://www.nod32.com
[Non-text portions of this message have been removed]