mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 10:49:09 +02:00
* Fix some compiler warnings
This commit is contained in:
parent
1d9a17377d
commit
eaf665e8c4
@ -56,6 +56,9 @@ type
|
|||||||
Procedure RegisterCursor(Cursor : TPQCursor);
|
Procedure RegisterCursor(Cursor : TPQCursor);
|
||||||
Procedure UnRegisterCursor(Cursor : TPQCursor);
|
Procedure UnRegisterCursor(Cursor : TPQCursor);
|
||||||
procedure UnprepareStatement(Cursor: TPQCursor; Force: Boolean);
|
procedure UnprepareStatement(Cursor: TPQCursor; Force: Boolean);
|
||||||
|
Public
|
||||||
|
Constructor Create(aConnection : TPQConnection;aDBName :string);
|
||||||
|
Destructor Destroy; override;
|
||||||
Procedure Connect;
|
Procedure Connect;
|
||||||
Procedure Disconnect;
|
Procedure Disconnect;
|
||||||
Procedure StartTransaction;
|
Procedure StartTransaction;
|
||||||
@ -66,8 +69,6 @@ type
|
|||||||
Function DescribePrepared(StmtName : String): PPGresult;
|
Function DescribePrepared(StmtName : String): PPGresult;
|
||||||
Function Exec(aSQL : String; aClearResult : Boolean; aError : String = '') : PPGresult;
|
Function Exec(aSQL : String; aClearResult : Boolean; aError : String = '') : PPGresult;
|
||||||
function ExecPrepared(stmtName: AnsiString; nParams:longint; paramValues:PPchar; paramLengths:Plongint;paramFormats:Plongint; aClearResult : Boolean) : PPGresult;
|
function ExecPrepared(stmtName: AnsiString; nParams:longint; paramValues:PPchar; paramLengths:Plongint;paramFormats:Plongint; aClearResult : Boolean) : PPGresult;
|
||||||
Constructor Create(aConnection : TPQConnection;aDBName :string);
|
|
||||||
Destructor Destroy; override;
|
|
||||||
procedure CheckResultError(var res: PPGresult; Actions : TCheckResultActions; const ErrMsg: string);
|
procedure CheckResultError(var res: PPGresult; Actions : TCheckResultActions; const ErrMsg: string);
|
||||||
Property Connection : TPQConnection Read FCOnnection;
|
Property Connection : TPQConnection Read FCOnnection;
|
||||||
Property NativeConn : PPGConn Read FNativeConn;
|
Property NativeConn : PPGConn Read FNativeConn;
|
||||||
@ -844,7 +845,6 @@ function TPGHandle.ExecPrepared(stmtName: AnsiString; nParams: longint;
|
|||||||
aClearResult: Boolean): PPGresult;
|
aClearResult: Boolean): PPGresult;
|
||||||
|
|
||||||
var
|
var
|
||||||
s : string;
|
|
||||||
acts : TCheckResultActions;
|
acts : TCheckResultActions;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user