mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 15:52:05 +02:00
fcl-db: sqldb: TSQLDBLibraryLoader do not check Enabled while loading component properties.
git-svn-id: trunk@37570 -
This commit is contained in:
parent
efb0730436
commit
1915fd8932
@ -38,12 +38,12 @@ implementation
|
||||
Resourcestring
|
||||
SErrConnnected = 'This operation is not allowed while the datatabase is loaded';
|
||||
SErrInvalidConnectionType = 'Invalid connection type : "%s"';
|
||||
|
||||
{ TSQLDBLibraryLoader }
|
||||
|
||||
procedure TSQLDBLibraryLoader.CheckDisabled;
|
||||
|
||||
begin
|
||||
If Enabled then
|
||||
If not (csLoading in ComponentState) and Enabled then
|
||||
DatabaseError(SErrConnnected,Self);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user