mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-01 16:44:55 +02:00
* FCL-DB: cosmetic changes in comments
git-svn-id: trunk@22934 -
This commit is contained in:
parent
761fcca4ec
commit
51c06b1180
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user