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 2014/10/18 06:09:07 UTC

git commit: Fix test for isSequenceTable

Repository: phoenix
Updated Branches:
  refs/heads/master c81ca2791 -> 209b5f530


Fix test for isSequenceTable


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/209b5f53
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/209b5f53
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/209b5f53

Branch: refs/heads/master
Commit: 209b5f5308717afb4fdecfac230f26f52cf3a82a
Parents: c81ca27
Author: James Taylor <jt...@salesforce.com>
Authored: Fri Oct 17 21:14:52 2014 -0700
Committer: James Taylor <jt...@salesforce.com>
Committed: Fri Oct 17 21:14:52 2014 -0700

----------------------------------------------------------------------
 phoenix-core/src/main/java/org/apache/phoenix/util/SchemaUtil.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/209b5f53/phoenix-core/src/main/java/org/apache/phoenix/util/SchemaUtil.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/util/SchemaUtil.java b/phoenix-core/src/main/java/org/apache/phoenix/util/SchemaUtil.java
index 8fa0ed9..e4d91a5 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/util/SchemaUtil.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/util/SchemaUtil.java
@@ -355,7 +355,7 @@ public class SchemaUtil {
     }
     
     public static boolean isSequenceTable(byte[] tableName) {
-        return Bytes.compareTo(tableName, PhoenixDatabaseMetaData.SEQUENCE_TABLE_NAME_BYTES) == 0;
+        return Bytes.compareTo(tableName, PhoenixDatabaseMetaData.SEQUENCE_FULLNAME_BYTES) == 0;
     }
 
     public static boolean isMetaTable(PTable table) {