From 86bf0e85d84c54d0e346b8f6c02ad89c2c1cc926 Mon Sep 17 00:00:00 2001 From: jeffreyz Date: Wed, 11 Dec 2013 18:42:06 +0000 Subject: [PATCH] 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 --- .../src/main/java/org/apache/hadoop/hbase/KeyValue.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java index 837840393b8..f667cb64179 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java @@ -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()); } /**