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:
jeffreyz 2013-12-11 18:42:06 +00:00
parent c56d41dc3d
commit 86bf0e85d8
1 changed files with 3 additions and 3 deletions

View File

@ -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());
}
/**