Reversed HBASE-1723 getRowWithColumnsTs changed behavior

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@800175 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2009-08-03 00:24:42 +00:00
parent 90ab1628d8
commit 2f98fe4625
2 changed files with 2 additions and 3 deletions

View File

@ -543,7 +543,6 @@ Release 0.20.0 - Unreleased
HBASE-1714 Thrift server: prefix scan API
HBASE-1719 hold a reference to the region in stores instead of only the
region info
HBASE-1723 getRowWithColumnsTs changed behavior (Mathias Lehman via Stack)
OPTIMIZATIONS
HBASE-1412 Change values for delete column and column family in KeyValue

View File

@ -341,7 +341,7 @@ public class ThriftServer {
HTable table = getTable(tableName);
if (columns == null) {
Get get = new Get(row);
get.setTimeStamp(timestamp);
get.setTimeRange(Long.MIN_VALUE, timestamp);
Result result = table.get(get);
return ThriftUtilities.rowResultFromHBase(result.getRowResult());
}
@ -355,7 +355,7 @@ public class ThriftServer {
get.addColumn(famAndQf[0], famAndQf[1]);
}
}
get.setTimeStamp(timestamp);
get.setTimeRange(Long.MIN_VALUE, timestamp);
Result result = table.get(get);
return ThriftUtilities.rowResultFromHBase(result.getRowResult());
} catch (IOException e) {