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:
lacak 2014-06-10 08:41:06 +00:00
parent ff28acbaad
commit 5c936f0ecf

View File

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