Skip to content

Commit a9ebffb

Browse files
committed
fix error of insertAlignedTablets
1 parent 4341368 commit a9ebffb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: client/session.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ func (s *Session) genInsertTabletsReq(tablets []*Tablet, isAligned bool) (*rpc.T
884884
valuesList[index] = values
885885
timestampsList[index] = tablet.GetTimestampBytes()
886886
typesList[index] = tablet.getDataTypes()
887-
sizeList[index] = int32(tablet.maxRowNumber)
887+
sizeList[index] = int32(tablet.RowSize)
888888
}
889889
request := rpc.TSInsertTabletsReq{
890890
SessionId: s.sessionId,

0 commit comments

Comments
 (0)