Skip to content

Commit

Permalink
fix integration test TestDropAndTruncatePartition
Browse files Browse the repository at this point in the history
  • Loading branch information
tangenta committed Apr 28, 2022
1 parent c419f8f commit eee54ce
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions ddl/partition_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,12 @@ func buildTableInfoWithPartition(t *testing.T, d *ddl) (*model.TableInfo, []int6

func buildDropPartitionJob(dbInfo *model.DBInfo, tblInfo *model.TableInfo, partNames []string) *model.Job {
return &model.Job{
SchemaID: dbInfo.ID,
TableID: tblInfo.ID,
Type: model.ActionDropTablePartition,
BinlogInfo: &model.HistoryInfo{},
Args: []interface{}{partNames},
SchemaID: dbInfo.ID,
TableID: tblInfo.ID,
SchemaState: model.StatePublic,
Type: model.ActionDropTablePartition,
BinlogInfo: &model.HistoryInfo{},
Args: []interface{}{partNames},
}
}

Expand Down

0 comments on commit eee54ce

Please sign in to comment.