HBASE-1866 Scan(Scan) copy constructor does not copy value of cacheBlocks

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@818656 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jonathan Gray 2009-09-24 23:20:27 +00:00
parent 8525e1ee23
commit ebb08cddcf
2 changed files with 5 additions and 0 deletions

View File

@ -45,6 +45,8 @@ Release 0.21.0 - Unreleased
HBASE-1809 NPE thrown in BoundedRangeFileInputStream
HBASE-1859 Misc shell fixes patch (Kyle Oba via Stack)
HBASE-1865 0.20.0 TableInputFormatBase NPE
HBASE-1866 Scan(Scan) copy constructor does not copy value of
cacheBlocks
IMPROVEMENTS
HBASE-1760 Cleanup TODOs in HTable

View File

@ -124,6 +124,7 @@ public class Scan implements Writable {
stopRow = scan.getStopRow();
maxVersions = scan.getMaxVersions();
caching = scan.getCaching();
cacheBlocks = scan.getCacheBlocks();
filter = scan.getFilter(); // clone?
TimeRange ctr = scan.getTimeRange();
tr = new TimeRange(ctr.getMin(), ctr.getMax());
@ -380,6 +381,8 @@ public class Scan implements Writable {
sb.append("" + this.maxVersions);
sb.append(", caching=");
sb.append("" + this.caching);
sb.append(", cacheBlocks=");
sb.append("" + this.cacheBlocks);
sb.append(", timeRange=");
sb.append("[" + this.tr.getMin() + "," + this.tr.getMax() + ")");
sb.append(", families=");