mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 10:09:08 +02:00
parent
70967d03aa
commit
4e1e30b102
@ -660,7 +660,6 @@ function TSQLDBConnectionmanager.CreateConnection(const aDef: TSQLDBConnectionDe
|
|||||||
|
|
||||||
var
|
var
|
||||||
C : TSQLConnectionClass;
|
C : TSQLConnectionClass;
|
||||||
S : String;
|
|
||||||
|
|
||||||
begin
|
begin
|
||||||
C:=aDef.ConnectionClass;
|
C:=aDef.ConnectionClass;
|
||||||
@ -671,7 +670,6 @@ begin
|
|||||||
Result:=C.Create(Self.ConnectionOwner);
|
Result:=C.Create(Self.ConnectionOwner);
|
||||||
try
|
try
|
||||||
aDef.AssignTo(Result);
|
aDef.AssignTo(Result);
|
||||||
S:=SetToString(PTypeInfo(TypeInfo(TDBEventTypes)),Integer(Self.LogEvents),True);
|
|
||||||
Result.LogEvents:=Self.LogEvents;
|
Result.LogEvents:=Self.LogEvents;
|
||||||
Result.Transaction:=TSQLTransaction.Create(Result);
|
Result.Transaction:=TSQLTransaction.Create(Result);
|
||||||
except
|
except
|
||||||
|
Loading…
Reference in New Issue
Block a user