resurrected execution does not apply migration range from terminated context

This commit is contained in:
Shlomi Noach 2016-12-28 14:23:50 +02:00
parent 738270aabe
commit 90f61f812d

View File

@ -281,8 +281,8 @@ func (this *MigrationContext) LoadJSON(jsonString string) error {
// GetGhostTableName generates the name of ghost table, based on original table name
func (this *MigrationContext) ApplyResurrectedContext(other *MigrationContext) {
this.MigrationRangeMinValues = other.MigrationRangeMinValues
this.MigrationRangeMaxValues = other.MigrationRangeMaxValues
// this.MigrationRangeMinValues = other.MigrationRangeMinValues
// this.MigrationRangeMaxValues = other.MigrationRangeMaxValues
this.MigrationIterationRangeMinValues = other.MigrationIterationRangeMinValues
this.MigrationIterationRangeMaxValues = other.MigrationIterationRangeMaxValues