mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 18:49:16 +02:00
git-svn-id: trunk@19039 -
This commit is contained in:
parent
a9515e9446
commit
367be2cd7a
@ -1200,11 +1200,11 @@ begin
|
|||||||
|
|
||||||
try
|
try
|
||||||
FieldDefs.Clear;
|
FieldDefs.Clear;
|
||||||
|
if not Assigned(Database) then DatabaseError(SErrDatabasenAssigned);
|
||||||
TSQLConnection(Database).AddFieldDefs(fcursor,FieldDefs);
|
TSQLConnection(Database).AddFieldDefs(fcursor,FieldDefs);
|
||||||
finally
|
finally
|
||||||
FLoadingFieldDefs := False;
|
FLoadingFieldDefs := False;
|
||||||
FCursor.FInitFieldDef := false;
|
if Assigned(FCursor) then FCursor.FInitFieldDef := false;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user