File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 161161 $ret = $ret + 1;
162162 }
163163 }
164+ } else {
165+ $ret = $ret + 1;
164166 }
165167
166168 if (defined ($parallel )) {
Original file line number Diff line number Diff line change @@ -1271,9 +1271,18 @@ sub snapshot
12711271 my $full = shift ;
12721272 my $double = shift ;
12731273 logger($self -> {_debug }, " Entering OracleVDB_obj::snapshot" ,1);
1274- my %snapshot_type = (
1275- " type" => " OracleSyncParameters"
1276- );
1274+ my %snapshot_type ;
1275+
1276+ if (version-> parse($self -> {_dlpxObject }-> getApi()) < version-> parse(1.11.0)) {
1277+ %snapshot_type = (
1278+ " type" => " OracleSyncParameters"
1279+ );
1280+ } else {
1281+ # Delphix 6.0
1282+ %snapshot_type = (
1283+ " type" => " OracleSyncFromExternalParameters"
1284+ );
1285+ }
12771286
12781287 if (defined ($full )) {
12791288 $snapshot_type {" forceFullBackup" } = JSON::true;
You can’t perform that action at this time.
0 commit comments