fcl-db: sqldb: propagate LogEvents from TSQLConnector to proxy TSQLConnection

git-svn-id: trunk@27293 -
This commit is contained in:
lacak 2014-03-27 07:26:51 +00:00
parent 2ab3e8704d
commit 37e0aa202c

View File

@ -2696,11 +2696,12 @@ begin
inherited DoInternalConnect; inherited DoInternalConnect;
CreateProxy; CreateProxy;
FProxy.CharSet:=Self.CharSet; FProxy.CharSet:=Self.CharSet;
FProxy.Role:=Self.Role;
FProxy.DatabaseName:=Self.DatabaseName; FProxy.DatabaseName:=Self.DatabaseName;
FProxy.HostName:=Self.HostName; FProxy.HostName:=Self.HostName;
FProxy.UserName:=Self.UserName; FProxy.LogEvents:=Self.LogEvents;
FProxy.Password:=Self.Password; FProxy.Password:=Self.Password;
FProxy.Role:=Self.Role;
FProxy.UserName:=Self.UserName;
FProxy.FTransaction:=Self.Transaction; FProxy.FTransaction:=Self.Transaction;
D:=GetConnectionDef(ConnectorType); D:=GetConnectionDef(ConnectorType);
D.ApplyParams(Params,FProxy); D.ApplyParams(Params,FProxy);
@ -2887,8 +2888,7 @@ function TSQLConnector.GetSchemaInfoSQL(SchemaType: TSchemaType;
SchemaObjectName, SchemaPattern: string): string; SchemaObjectName, SchemaPattern: string): string;
begin begin
CheckProxy; CheckProxy;
Result:=FProxy.GetSchemaInfoSQL(SchemaType, SchemaObjectName, SchemaPattern Result:=FProxy.GetSchemaInfoSQL(SchemaType, SchemaObjectName, SchemaPattern);
);
end; end;