Repository: phoenix Updated Branches: refs/heads/4.x-HBase-0.98 c57ad1a2f -> 584344da3
PHOENIX-3016 Addendum fix the check for no upgrade attrib Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/584344da Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/584344da Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/584344da Branch: refs/heads/4.x-HBase-0.98 Commit: 584344da3190205c4401a9d604e1445090de6c51 Parents: c57ad1a Author: Samarth <[email protected]> Authored: Tue Jun 21 09:01:39 2016 -0700 Committer: Samarth <[email protected]> Committed: Tue Jun 21 09:01:39 2016 -0700 ---------------------------------------------------------------------- .../java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/584344da/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java index c7a8019..e389843 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java @@ -2324,7 +2324,7 @@ public class ConnectionQueryServicesImpl extends DelegateQueryServices implement try { openConnection(); String noUpgradeProp = props.getProperty(PhoenixRuntime.NO_UPGRADE_ATTRIB); - if (!Boolean.TRUE.equals(noUpgradeProp)) { + if (!Boolean.TRUE.equals(Boolean.valueOf(noUpgradeProp))) { Properties scnProps = PropertiesUtil.deepCopy(props); scnProps.setProperty( PhoenixRuntime.CURRENT_SCN_ATTRIB,
