fcl-db: sqldb: TSQLDBLibraryLoader do not check Enabled while loading component properties.

git-svn-id: trunk@37570 -
This commit is contained in:
lacak 2017-11-07 21:17:20 +00:00
parent efb0730436
commit 1915fd8932

View File

@ -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;