HBASE-10125: KeyValue(Cell c) copy constructor doesn't copy tags data
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1550222 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c56d41dc3d
commit
86bf0e85d8
|
@ -733,9 +733,9 @@ public class KeyValue implements Cell, HeapSize, Cloneable {
|
|||
public KeyValue(Cell c) {
|
||||
this(c.getRowArray(), c.getRowOffset(), (int)c.getRowLength(),
|
||||
c.getFamilyArray(), c.getFamilyOffset(), (int)c.getFamilyLength(),
|
||||
c.getQualifierArray(), c.getQualifierOffset(), (int) c.getQualifierLength(),
|
||||
c.getTimestamp(), Type.codeToType(c.getTypeByte()),
|
||||
c.getValueArray(), c.getValueOffset(), c.getValueLength());
|
||||
c.getQualifierArray(), c.getQualifierOffset(), (int) c.getQualifierLength(),
|
||||
c.getTimestamp(), Type.codeToType(c.getTypeByte()), c.getValueArray(), c.getValueOffset(),
|
||||
c.getValueLength(), c.getTagsArray(), c.getTagsOffset(), c.getTagsLength());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue