From 1e8a9f029003627eb483a2274f82d0f95468ea46 Mon Sep 17 00:00:00 2001 From: crazycs Date: Wed, 29 Aug 2018 13:55:36 +0800 Subject: [PATCH] update test after merge --- util/chunk/chunk_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/chunk/chunk_test.go b/util/chunk/chunk_test.go index 28cfe99da53ca..f5158ca4b4da2 100644 --- a/util/chunk/chunk_test.go +++ b/util/chunk/chunk_test.go @@ -262,9 +262,9 @@ func newChunkWithInitCap(cap int, elemLen ...int) *Chunk { chk := &Chunk{} for _, l := range elemLen { if l > 0 { - chk.addFixedLenColumn(l, cap) + chk.columns = append(chk.columns, newFixedLenColumn(l, cap)) } else { - chk.addVarLenColumn(cap) + chk.columns = append(chk.columns, newVarLenColumn(cap, nil)) } } return chk