mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 19:49:09 +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.FSelectable:=True;
|
||||||
//Cursor.FStatementType:=stSelect;
|
//Cursor.FStatementType:=stSelect;
|
||||||
FUpdateable:=True;
|
FUpdateable:=True;
|
||||||
BindFields(True);
|
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
@ -2253,10 +2252,9 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end
|
end;
|
||||||
else
|
|
||||||
BindFields(True);
|
|
||||||
end;
|
end;
|
||||||
|
BindFields(True);
|
||||||
|
|
||||||
if not ReadOnly and not FUpdateable and (FSchemaType=stNoSchema) then
|
if not ReadOnly and not FUpdateable and (FSchemaType=stNoSchema) then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user