mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-24 13:21:28 +02:00
* Fixed compilation after r8639
* Initialize FMySQL git-svn-id: trunk@8645 -
This commit is contained in:
parent
0ec95286a9
commit
55e680469f
@ -146,7 +146,7 @@ Type
|
|||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
uses dbconst;
|
uses dbconst,ctypes;
|
||||||
|
|
||||||
{ TConnectionName }
|
{ TConnectionName }
|
||||||
|
|
||||||
@ -574,7 +574,7 @@ var
|
|||||||
row : MYSQL_ROW;
|
row : MYSQL_ROW;
|
||||||
C : TCursorName;
|
C : TCursorName;
|
||||||
li : longint;
|
li : longint;
|
||||||
Lengths : PDWord;
|
Lengths : pculong;
|
||||||
begin
|
begin
|
||||||
C:=Cursor as TCursorName;
|
C:=Cursor as TCursorName;
|
||||||
if C.Row=nil then
|
if C.Row=nil then
|
||||||
@ -847,6 +847,7 @@ constructor TConnectionName.Create(AOwner: TComponent);
|
|||||||
begin
|
begin
|
||||||
inherited Create(AOwner);
|
inherited Create(AOwner);
|
||||||
FConnOptions := FConnOptions + [sqEscapeRepeat] + [sqEscapeSlash];
|
FConnOptions := FConnOptions + [sqEscapeRepeat] + [sqEscapeSlash];
|
||||||
|
FMySQL := Nil;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TConnectionName.GetTransactionHandle(trans: TSQLHandle): pointer;
|
function TConnectionName.GetTransactionHandle(trans: TSQLHandle): pointer;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user