mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 12:01:59 +02:00
* Port in small letters, postgres requires lowercase port setting
This commit is contained in:
parent
42e202f791
commit
1da1a67369
@ -344,7 +344,7 @@ end;
|
||||
|
||||
function TSQLDBConnectionDef.GetPort: Word;
|
||||
begin
|
||||
Result:=StrToIntDef(FParams.Values['Port'],0);
|
||||
Result:=StrToIntDef(FParams.Values['port'],0);
|
||||
end;
|
||||
|
||||
procedure TSQLDBConnectionDef.SetCharSet(AValue: UTF8String);
|
||||
@ -406,9 +406,9 @@ end;
|
||||
procedure TSQLDBConnectionDef.SetPort(AValue: Word);
|
||||
begin
|
||||
if aValue=0 then
|
||||
FParams.Values['Port']:=''
|
||||
FParams.Values['port']:=''
|
||||
else
|
||||
FParams.Values['Port']:=IntToStr(aValue)
|
||||
FParams.Values['port']:=IntToStr(aValue)
|
||||
end;
|
||||
|
||||
procedure TSQLDBConnectionDef.SetRole(AValue: UTF8String);
|
||||
|
Loading…
Reference in New Issue
Block a user