Subject | Re: [IBO] Rollback to a point, not all the changes |
---|---|
Author | Frank Ingermann |
Post date | 2003-12-11T09:27:23Z |
Hi,
--- In IBObjects@yahoogroups.com, Daniel Rail <daniel@a...> wrote:
> Hi,
>
> At December 10, 2003, 13:40, Nando Dessena wrote:
> > IIRC it was Delphi 4, but I have nothing older than Delphi 5 at hand
> > to check.
>
> Delphi 4 is the correct answer. This is from the book "Delphi 4
> Developer's Guide" from Teixeira and Pacheco.
yep, right.
> J>> I could also name it differently to avoid the problem.
>
> Maybe something like:
> - CreateSavePoint(SavePointName)
> - RollBackToSavePoint(SavePointName)
> - ReleaseSavePoint(SavePointName) -> this is to add support for
> RELEASE SAVEPOINT <identifier>
Those sound good to me - i wasn't aware that methods named
Savepoint and RollbackTo already existed, otherwise i
wouldn't have suggested them in the first place :-)
(as Nando said, it would be abusing Overload - not
a good thing, leads to confusion)
cheers,
Frank