Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
AilinKid committed Apr 26, 2020
1 parent c5335b6 commit 30c4690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion table/tables/tables.go
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ func (t *tableCommon) AllAllocators(ctx sessionctx.Context) autoid.Allocators {

// RebaseAutoID implements table.Table RebaseAutoID interface.
// Both auto-increment and auto-random can use this function to do rebase on explicit newBase value (without shadow bits).
func (t *TableCommon) RebaseAutoID(ctx sessionctx.Context, newBase int64, isSetStep bool, tp autoid.AllocatorType) error {
func (t *tableCommon) RebaseAutoID(ctx sessionctx.Context, newBase int64, isSetStep bool, tp autoid.AllocatorType) error {
return t.Allocators(ctx).Get(tp).Rebase(t.tableID, newBase, isSetStep)
}

Expand Down

0 comments on commit 30c4690

Please sign in to comment.