* FCL-DB: cosmetic changes in comments

git-svn-id: trunk@22934 -
This commit is contained in:
reiniero 2012-11-05 07:00:12 +00:00
parent 761fcca4ec
commit 51c06b1180
2 changed files with 3 additions and 3 deletions

View File

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

View File

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