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 161
161
$ret = $ret + 1;
162
162
}
163
163
}
164
+ } else {
165
+ $ret = $ret + 1;
164
166
}
165
167
166
168
if (defined ($parallel )) {
Original file line number Diff line number Diff line change @@ -1271,9 +1271,18 @@ sub snapshot
1271
1271
my $full = shift ;
1272
1272
my $double = shift ;
1273
1273
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
+ }
1277
1286
1278
1287
if (defined ($full )) {
1279
1288
$snapshot_type {" forceFullBackup" } = JSON::true;
You can’t perform that action at this time.
0 commit comments