Subject | Re: [IBO] Re: New sub-release posted to all areas |
---|---|
Author | Jason Wharton |
Post date | 2001-05-16T17:53:07Z |
What is happening is it is checking through all components on the form for a
reference to a session and I have some recursive logic that is being overly
aggressive about looking things over.
Simply put, I need to rethink a couple of things on this.
For now, you can revert the code back to its original state and keep the
other bug fixes by applying this change to the source of IBA_Component.IMP.
function GrabSession( ACmp: TComponent ): boolean;
begin
if ACmp is TIB_Session then
tmpSession := TIB_Session( ACmp )
else
if ( ACmp <> Self ) and
( ACmp is TIB_Component ) then
begin
// Revert back for now.
tmpSession := TIB_Component( ACmp ).IB_Session;
end;
Result := Assigned( tmpSession );
end;
It's quite near the top in the CheckSession method.
Sorry about this.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
reference to a session and I have some recursive logic that is being overly
aggressive about looking things over.
Simply put, I need to rethink a couple of things on this.
For now, you can revert the code back to its original state and keep the
other bug fixes by applying this change to the source of IBA_Component.IMP.
function GrabSession( ACmp: TComponent ): boolean;
begin
if ACmp is TIB_Session then
tmpSession := TIB_Session( ACmp )
else
if ( ACmp <> Self ) and
( ACmp is TIB_Component ) then
begin
// Revert back for now.
tmpSession := TIB_Component( ACmp ).IB_Session;
end;
Result := Assigned( tmpSession );
end;
It's quite near the top in the CheckSession method.
Sorry about this.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
----- Original Message -----
From: "D.F." <delphi@...>
To: "Sergey Kanovka" <IBObjects@yahoogroups.com>
Sent: Wednesday, May 16, 2001 8:35 AM
Subject: Re: [IBO] Re: New sub-release posted to all areas
> The same....Think to rollback to De...
>
> D.
>
>
> > --- In IBObjects@y..., "Jason Wharton" <jwharton@i...> wrote:
> >> 5/16/2001 Sub-Release 3.6 Df
>
> > I installed 3.6 Df and after that all forms that contain queries open
terribly slow (30-40 sec instead of 3-4). Also I noticed almost 100%
processor work when I open form. I rolled back to 3.6 De
> > and problem disappears. Does anyone experience same problem?
>
> > Thanks
> > Serge
>
>
>
>
> > 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/
>
>