You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by ja...@apache.org on 2018/06/12 04:48:49 UTC
[04/23] phoenix git commit: Remove hard coded Omid
Remove hard coded Omid
Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/45e6b0e3
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/45e6b0e3
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/45e6b0e3
Branch: refs/heads/omid2
Commit: 45e6b0e309d037c03221de249501fa7c4bc651db
Parents: a11bddc
Author: Ohad Shacham <oh...@yahoo-inc.com>
Authored: Tue May 8 10:16:19 2018 +0300
Committer: Ohad Shacham <oh...@yahoo-inc.com>
Committed: Tue May 8 10:16:19 2018 +0300
----------------------------------------------------------------------
.../org/apache/phoenix/transaction/TransactionFactory.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/phoenix/blob/45e6b0e3/phoenix-core/src/main/java/org/apache/phoenix/transaction/TransactionFactory.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/transaction/TransactionFactory.java b/phoenix-core/src/main/java/org/apache/phoenix/transaction/TransactionFactory.java
index c4526e9..a776ed5 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/transaction/TransactionFactory.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/transaction/TransactionFactory.java
@@ -62,10 +62,10 @@ public class TransactionFactory {
if (txState == null || txState.length == 0) {
return null;
}
- Provider provider = Provider.OMID;
- /*(clientVersion < MetaDataProtocol.MIN_SYSTEM_TABLE_TIMESTAMP_4_14_0)
+ Provider provider =
+ (clientVersion < MetaDataProtocol.MIN_SYSTEM_TABLE_TIMESTAMP_4_14_0)
? Provider.OMID
- : Provider.fromCode(txState[txState.length-1]); */
+ : Provider.fromCode(txState[txState.length-1]);
return provider.getTransactionProvider().getTransactionContext(txState);
}
}