diff --git a/packages/fcl-db/src/sqldb/interbase/fbadmin.pp b/packages/fcl-db/src/sqldb/interbase/fbadmin.pp index 2222130920..4ac5c26ba5 100644 --- a/packages/fcl-db/src/sqldb/interbase/fbadmin.pp +++ b/packages/fcl-db/src/sqldb/interbase/fbadmin.pp @@ -93,7 +93,7 @@ type public constructor Create(AOwner: TComponent); override; destructor Destroy; override; - //Connect to service manage. Specify User,Password and, for remote databases, + //Connect to service manager. Specify User,Password and, for remote databases, //Host and, if not standard, Port function Connect:boolean; //Disconnect from service manager. Done automatically when destroying component @@ -158,7 +158,7 @@ type property Port: word read FPort write FPort default 3050; //Protocol used to connect to service manager. One of: //IBSPLOCAL: Host and port ignored - //IBSPTCPIP: Connectoct to Host:Port + //IBSPTCPIP: Connect to Host:Port //IBSPNETBEUI: Connect to \\Host\ //IBSPNAMEDPIPE: Connect to //Host/ property Protocol: TServiceProtocol read FProtocol write FProtocol; diff --git a/packages/fcl-db/src/sqldb/postgres/pqconnection.pp b/packages/fcl-db/src/sqldb/postgres/pqconnection.pp index c1401a04fc..54bbb9a42f 100644 --- a/packages/fcl-db/src/sqldb/postgres/pqconnection.pp +++ b/packages/fcl-db/src/sqldb/postgres/pqconnection.pp @@ -334,7 +334,7 @@ begin dointernaldisconnect; DatabaseError(sErrConnectionFailed + ' (PostgreSQL: ' + msg + ')',self); end; -// This does only work for pg>=8.0, so timestamps won't work with earlier versions of pg which are compiled with integer_datetimes on +// This only works for pg>=8.0, so timestamps won't work with earlier versions of pg which are compiled with integer_datetimes on if PQparameterStatus<>nil then FIntegerDateTimes := PQparameterStatus(FSQLDatabaseHandle,'integer_datetimes') = 'on'; end;