Browse Source

* FCL-DB: cosmetic changes in comments

git-svn-id: trunk@22934 -
reiniero 12 years ago
parent
commit
51c06b1180

+ 2 - 2
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;

+ 1 - 1
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;