mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-24 05:59:43 +02:00
pqconnection: refactoring - use variable
git-svn-id: trunk@49011 -
(cherry picked from commit 28e359f091
)
This commit is contained in:
parent
cc3a46b9e1
commit
2338aa4d5e
@ -924,15 +924,15 @@ begin
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
if AParams[i].DataType = ftUnknown then
|
if P.DataType = ftUnknown then
|
||||||
begin
|
begin
|
||||||
if AParams[i].IsNull then
|
if P.IsNull then
|
||||||
s:=s+' unknown ,'
|
s:=s+' unknown ,'
|
||||||
else
|
else
|
||||||
DatabaseErrorFmt(SUnknownParamFieldType,[AParams[i].Name],self)
|
DatabaseErrorFmt(SUnknownParamFieldType,[P.Name],self)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
DatabaseErrorFmt(SUnsupportedParameter,[Fieldtypenames[AParams[i].DataType]],self);
|
DatabaseErrorFmt(SUnsupportedParameter,[Fieldtypenames[P.DataType]],self);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
s[length(s)] := ')';
|
s[length(s)] := ')';
|
||||||
|
Loading…
Reference in New Issue
Block a user