6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-02-02 02:40:42 +01:00

Fix trace session initialization when full config is used

This commit is contained in:
Pavel Císař 2022-09-28 09:02:23 +02:00
parent c6f0563c44
commit a47b0ac605

View File

@ -2297,7 +2297,9 @@ class Action:
if isinstance(role, Role): if isinstance(role, Role):
role = role.name role = role.name
if config is not None: if config is not None:
return TraceSession(self, config, keep_log=keep_log, encoding=encoding, return TraceSession(self, config, user=_vars_['user'] if user is None else user,
password=_vars_['password'] if password is None else password,
role=role, keep_log=keep_log, encoding=encoding,
encoding_errors=encoding_errors) encoding_errors=encoding_errors)
else: else:
config = [] config = []