Skip to content

Commit 2c9bc71

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 efed600 commit 2c9bc71

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
@@ -319,6 +319,25 @@ static int svc_api_gbak(Firebird::UtilSvc* uSvc, const Switches& switches)
319319
argv[itr] = 0;
320320
break;
321321
#endif
322+
case IN_SW_BURP_S:
323+
case IN_SW_BURP_P:
324+
case IN_SW_BURP_BU:
325+
case IN_SW_BURP_MODE:
326+
case IN_SW_BURP_SKIP_DATA:
327+
case IN_SW_BURP_INCLUDE_DATA:
328+
case IN_SW_BURP_ROLE:
329+
case IN_SW_BURP_KEYHOLD:
330+
case IN_SW_BURP_CRYPT:
331+
case IN_SW_BURP_KEYNAME:
332+
case IN_SW_BURP_FA:
333+
case IN_SW_BURP_FIX_FSS_DATA:
334+
case IN_SW_BURP_FIX_FSS_METADATA:
335+
case IN_SW_BURP_PARALLEL_WORKERS:
336+
case IN_SW_BURP_Y:
337+
case IN_SW_BURP_STATS:
338+
case IN_SW_BURP_REPLICA:
339+
++itr;
340+
break;
322341
}
323342
}
324343

0 commit comments

Comments
 (0)