HBASE-1649 ValueFilter may not reset its internal state

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@793642 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2009-07-13 18:09:55 +00:00
parent c493cd3bcc
commit 503cc3b990
2 changed files with 6 additions and 6 deletions

View File

@ -258,6 +258,8 @@ Release 0.20.0 - Unreleased
(Doğacan Güney via Stack) (Doğacan Güney via Stack)
HBASE-1639 clean checkout with empty hbase-site.xml, zk won't start HBASE-1639 clean checkout with empty hbase-site.xml, zk won't start
HBASE-1646 Scan-s can't set a Filter (Doğacan Güney via Stack) HBASE-1646 Scan-s can't set a Filter (Doğacan Güney via Stack)
HBASE-1649 ValueFilter may not reset its internal state
(Doğacan Güney via Stack)
IMPROVEMENTS IMPROVEMENTS
HBASE-1089 Add count of regions on filesystem to master UI; add percentage HBASE-1089 Add count of regions on filesystem to master UI; add percentage

View File

@ -194,14 +194,12 @@ public class ValueFilter implements Filter {
} }
public boolean filterRow() { public boolean filterRow() {
boolean result = filterThisRow || (filterIfColumnMissing && !foundColValue); return filterThisRow || (filterIfColumnMissing && !foundColValue);
filterThisRow = false;
foundColValue = false;
return result;
} }
public void reset() { public void reset() {
// Nothing. filterThisRow = false;
foundColValue = false;
} }
public void readFields(final DataInput in) throws IOException { public void readFields(final DataInput in) throws IOException {