not applying range if nil
This commit is contained in:
parent
24f5c6da62
commit
7bdfd1bff5
@ -283,8 +283,12 @@ func (this *MigrationContext) LoadJSON(jsonString string) error {
|
||||
func (this *MigrationContext) ApplyResurrectedContext(other *MigrationContext) {
|
||||
// this.MigrationRangeMinValues = other.MigrationRangeMinValues
|
||||
// this.MigrationRangeMaxValues = other.MigrationRangeMaxValues
|
||||
this.MigrationIterationRangeMinValues = other.MigrationIterationRangeMinValues
|
||||
this.MigrationIterationRangeMaxValues = other.MigrationIterationRangeMaxValues
|
||||
if other.MigrationIterationRangeMinValues != nil {
|
||||
this.MigrationIterationRangeMinValues = other.MigrationIterationRangeMinValues
|
||||
}
|
||||
if other.MigrationIterationRangeMaxValues != nil {
|
||||
this.MigrationIterationRangeMaxValues = other.MigrationIterationRangeMaxValues
|
||||
}
|
||||
|
||||
this.RowsEstimate = other.RowsEstimate
|
||||
this.RowsDeltaEstimate = other.RowsDeltaEstimate
|
||||
|
Loading…
Reference in New Issue
Block a user