func newMemoryTable(tableID int64, tableName string, cols []*table.Column, alloc autoid.Allocator) *MemoryTable {
	name := model.NewCIStr(tableName)
	t := &MemoryTable{
		ID:           tableID,
		Name:         name,
		alloc:        alloc,
		Columns:      cols,
		recordPrefix: tablecodec.GenTableRecordPrefix(tableID),
		tree:         llrb.New(),
	}
	return t
}
// newMemoryTable constructs a MemoryTable instance.
newMemoryTable constructs a MemoryTable instance.
// newMemoryTable constructs a MemoryTable instance .
func newMemoryTable(tableID int64, tableName string, cols []*table.Column, alloc autoid.Allocator) *MemoryTable {
	name := model.NewCIStr(tableName)
	t := &MemoryTable{
		ID:           tableID,
		Name:         name,
		alloc:        alloc,
		Columns:      cols,
		recordPrefix: tablecodec.GenTableRecordPrefix(tableID),
		tree:         llrb.New(),
	}
	return t
}
func newMemoryTable ( tableID int64 , tableName string , cols [ ] * table . Column , alloc autoid . Allocator ) * MemoryTable { name := model . NewCIStr ( tableName ) t := & MemoryTable { ID : tableID , Name : name , alloc : alloc , Columns : cols , recordPrefix : tablecodec . GenTableRecordPrefix ( tableID ) , tree : llrb . New ( ) , } return t }
newMemoryTable constructs a MemoryTable instance.
newMemoryTable constructs a MemoryTable instance .