From a47b0ac605ff4d92c3f0b1e835300642be53a9c3 Mon Sep 17 00:00:00 2001 From: Pavel Cisar Date: Wed, 28 Sep 2022 09:02:23 +0200 Subject: [PATCH] Fix trace session initialization when full config is used --- firebird/qa/plugin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/firebird/qa/plugin.py b/firebird/qa/plugin.py index 161cdf07..d51e44c4 100644 --- a/firebird/qa/plugin.py +++ b/firebird/qa/plugin.py @@ -2297,7 +2297,9 @@ class Action: if isinstance(role, Role): role = role.name 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) else: config = []