File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
main/org/firebirdsql/util
test/org/firebirdsql/management Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -714,6 +714,13 @@ public boolean supportsMetadataPrivileges() {
714714 return isVersionEqualOrAbove (3 );
715715 }
716716
717+ /**
718+ * @return {@code true} if server supports legacy multi-file databases
719+ */
720+ public boolean supportsLegacyMultiFileDatabase () {
721+ return isVersionBelow (6 );
722+ }
723+
717724 /**
718725 * @return the ODS version used when creating a database or after using the gfix/service repair upgrade database
719726 * option
Original file line number Diff line number Diff line change 4545
4646import static java .lang .String .format ;
4747import static org .firebirdsql .common .FBTestProperties .*;
48+ import static org .firebirdsql .common .FbAssumptions .assumeFeature ;
4849import static org .firebirdsql .common .matchers .SQLExceptionMatchers .errorCodeEquals ;
4950import static org .firebirdsql .gds .VaxEncoding .iscVaxInteger ;
5051import static org .firebirdsql .gds .VaxEncoding .iscVaxInteger2 ;
@@ -243,6 +244,8 @@ void testRestorePageSize32768() throws Exception {
243244
244245 @ Test
245246 void testBackupMultiple () throws Exception {
247+ assumeFeature (FirebirdSupportInfo ::supportsLegacyMultiFileDatabase ,
248+ "Test requires legacy multi-file database support" );
246249 usesDatabase .createDefaultDatabase ();
247250 backupManager .clearBackupPaths ();
248251 backupManager .clearRestorePaths ();
You can’t perform that action at this time.
0 commit comments