db: remove dummy checks in SetAfterConnect and friends - they case bugs in Lazarus because we are comparing pointers instead of TMethod (2 pointers)

git-svn-id: trunk@14966 -
This commit is contained in:
paul 2010-03-02 09:51:41 +00:00
parent be98b13554
commit 71c99628d4

View File

@ -440,7 +440,6 @@ end;
procedure TCustomConnection.SetAfterConnect(const AValue: TNotifyEvent);
begin
if FAfterConnect=AValue then exit;
FAfterConnect:=AValue;
end;
@ -464,13 +463,11 @@ end;
procedure TCustomConnection.SetAfterDisconnect(const AValue: TNotifyEvent);
begin
if FAfterDisconnect=AValue then exit;
FAfterDisconnect:=AValue;
end;
procedure TCustomConnection.SetBeforeConnect(const AValue: TNotifyEvent);
begin
if FBeforeConnect=AValue then exit;
FBeforeConnect:=AValue;
end;
@ -509,7 +506,6 @@ end;
procedure TCustomConnection.SetBeforeDisconnect(const AValue: TNotifyEvent);
begin
if FBeforeDisconnect=AValue then exit;
FBeforeDisconnect:=AValue;
end;