code: func initTableCommon(t *tableCommon, tblInfo *model.TableInfo, physicalTableID int64, cols []*table.Column, alloc autoid.Allocator) {
  	t.tableID = tblInfo.ID
  	t.physicalTableID = physicalTableID
  	t.alloc = alloc
  	t.meta = tblInfo
  	t.Columns = cols
  	t.publicColumns = t.Cols()
  	t.writableColumns = t.WritableCols()
  	t.writableIndices = t.WritableIndices()
  	t.recordPrefix = tablecodec.GenTableRecordPrefix(physicalTableID)
  	t.indexPrefix = tablecodec.GenTableIndexPrefix(physicalTableID)
  }
docs: // initTableCommon initializes a tableCommon struct.