From b053182f60b92589db1cd7b581687112b9d4a0c2 Mon Sep 17 00:00:00 2001 From: alexpeshkoff Date: Fri, 10 Jul 2009 07:52:56 +0000 Subject: [PATCH] Fixed gbak logic when using -TRUSTED switch - thanks to Claudio --- src/burp/burp.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/burp/burp.cpp b/src/burp/burp.cpp index 21ee21551e..5a0fd20f3c 100644 --- a/src/burp/burp.cpp +++ b/src/burp/burp.cpp @@ -266,10 +266,10 @@ static int api_gbak(Firebird::UtilSvc* uSvc, in_sw_tab_t* const in_sw_tab) } #ifdef TRUSTED_AUTH if (flag_trusted) -#endif { spb.insertTag(isc_spb_trusted_auth); } +#endif // Fill command line options Firebird::string options; @@ -707,9 +707,6 @@ int gbak(Firebird::UtilSvc* uSvc) // trusted user name parameter missing } tdgbl->gbl_sw_tr_user = argv[itr]; -#ifdef TRUSTED_AUTH - burp_in_sw_table[IN_SW_BURP_TRUSTED_USER].in_sw_state = true; -#endif } else if (in_sw_tab->in_sw == IN_SW_BURP_ROLE) {