mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 14:19:28 +02:00
fcl-db: sqldb: always call in TSQLQuery.InternalOpen BindFields so all private variables are calculated properly (f.e. FBlobFieldCount)
git-svn-id: trunk@27919 -
This commit is contained in:
parent
ff28acbaad
commit
5c936f0ecf
@ -2210,7 +2210,6 @@ begin
|
||||
//Cursor.FSelectable:=True;
|
||||
//Cursor.FStatementType:=stSelect;
|
||||
FUpdateable:=True;
|
||||
BindFields(True);
|
||||
end
|
||||
else
|
||||
begin
|
||||
@ -2253,10 +2252,9 @@ begin
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
end
|
||||
else
|
||||
BindFields(True);
|
||||
end;
|
||||
end;
|
||||
BindFields(True);
|
||||
|
||||
if not ReadOnly and not FUpdateable and (FSchemaType=stNoSchema) then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user