Subject | Re: [IBO] small patch |
---|---|
Author | hans@hoogstraat.ca |
Post date | 2001-09-10T22:30:11Z |
Thank You Jason, that helps a lot :)
Yes, it would be nice to have a flag indicating if
a dataset was altered/updated since last commit
or rollback.
==================================================
Jason Wharton wrote:
Yes, it would be nice to have a flag indicating if
a dataset was altered/updated since last commit
or rollback.
==================================================
Jason Wharton wrote:
>
> I will make it check the ReadOnly but I will not have it also make it check
> the RequestLive because it is possible to insert into a dataset that isn't
> request live as well as put in your own custom DML statements or event
> handlers.
>
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com
>
> ----- Original Message -----
> From: <hans@...>
> To: <IBObjects@yahoogroups.com>
> Sent: Sunday, September 09, 2001 12:39 PM
> Subject: Re: [IBO] small patch
>
> > Hello Jason,
> >
> > Would you mind to include my small patch to IBA_TRANSACTION.IMP.
> > Everytime I get surprised after an update by very long refreshes
> > of all open tables (some 40) in my test conversion projects after
> > a rollback. Only a few tables are R/W and this patch makes a
> > rollback instantanous.
> >
> > 1661: for ii := 0 to DatasetCount - 1 do
> > 1662: try
> > 1663: with Datasets[ ii ] do
> > 1664: begin
> > 1665: if Unidirectional then
> > 1666: begin
> > 1667: if not Assigned( dll_rollback_retaining ) then
> > 1668: Close;
> > 1669: end
> > 1670: else
> > if (not ReadOnly) and RequestLive then
> > 1671: Refresh;
> > 1672: end;
> > 1673: except
> >
> > Best Regards
> > Hans
> >
> >
> >
> >
> > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
> >
> >
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/