From 30c4690078e14aac852914c5260f538c882f5245 Mon Sep 17 00:00:00 2001 From: AilinKid <314806019@qq.com> Date: Sun, 26 Apr 2020 10:37:24 +0800 Subject: [PATCH] . --- table/tables/tables.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/table/tables/tables.go b/table/tables/tables.go index be7871f4bb4fc..fa72065ec68f3 100644 --- a/table/tables/tables.go +++ b/table/tables/tables.go @@ -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) }