Skip to content

Commit 8157513

Browse files
committed
Fixed #8903: Use of some switches with parameter in gbak's command line before name of database in -SE mode breaks access to databases with non-default security database
(cherry picked from commit 46c8026)
1 parent be31ee4 commit 8157513

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

src/burp/burp.cpp

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,24 @@ static int svc_api_gbak(Firebird::UtilSvc* uSvc, const Switches& switches)
317317
argv[itr] = 0;
318318
break;
319319
#endif
320+
case IN_SW_BURP_S:
321+
case IN_SW_BURP_P:
322+
case IN_SW_BURP_BU:
323+
case IN_SW_BURP_MODE:
324+
case IN_SW_BURP_SKIP_DATA:
325+
case IN_SW_BURP_INCLUDE_DATA:
326+
case IN_SW_BURP_ROLE:
327+
case IN_SW_BURP_KEYHOLD:
328+
case IN_SW_BURP_CRYPT:
329+
case IN_SW_BURP_KEYNAME:
330+
case IN_SW_BURP_FA:
331+
case IN_SW_BURP_FIX_FSS_DATA:
332+
case IN_SW_BURP_FIX_FSS_METADATA:
333+
case IN_SW_BURP_Y:
334+
case IN_SW_BURP_STATS:
335+
case IN_SW_BURP_REPLICA:
336+
++itr;
337+
break;
320338
}
321339
}
322340

0 commit comments

Comments
 (0)