fix addContent bug again

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@785302 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Kyle Purtell 2009-06-16 17:10:31 +00:00
parent cb114693ea
commit b585855217
1 changed files with 3 additions and 3 deletions

View File

@ -309,9 +309,9 @@ public abstract class HBaseTestCase extends TestCase {
put.setTimeStamp(ts);
}
try {
put.add(Bytes.toBytes(columnFamily),
(column == null ? null : Bytes.toBytes(column)),
t);
String col = column != null ? column : columnFamily;
byte[][] split = KeyValue.parseColumn(Bytes.toBytes(col));
put.add(split[0], split[1], t);
updater.put(put);
count++;
} catch (RuntimeException ex) {