Skip to content

Commit 46c8026

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
1 parent 12d8074 commit 46c8026

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

src/burp/burp.cpp

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

0 commit comments

Comments
 (0)