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:27:53 UTC

git commit: Reverting previous unintentional change

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


Reverting previous unintentional change


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

Branch: refs/heads/master
Commit: 3fcdec06fd9fa9c42aa1c73bfea353336385d16f
Parents: 209b5f5
Author: James Taylor <jt...@salesforce.com>
Authored: Fri Oct 17 21:33:36 2014 -0700
Committer: James Taylor <jt...@salesforce.com>
Committed: Fri Oct 17 21:33:36 2014 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/phoenix/util/SchemaUtil.java | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/3fcdec06/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 e4d91a5..a515398 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
@@ -166,14 +166,6 @@ public class SchemaUtil {
         return l3;
     }
 
-    public static byte[] getSequenceKey(byte[] tenantId, byte[] schemaName, byte[] sequenceName) {
-        return getTableKey(tenantId, schemaName, sequenceName);
-    }
-
-    public static byte[] getSequenceKey(String tenantId, String schemaName, String sequenceName) {
-        return getTableKey(tenantId, schemaName, sequenceName);
-    }
-
     /**
      * Get the key used in the Phoenix metadata row for a table definition
      * @param schemaName
@@ -363,7 +355,7 @@ public class SchemaUtil {
     }
     
     public static boolean isMetaTable(byte[] schemaName, byte[] tableName) {
-        return Bytes.compareTo(schemaName, PhoenixDatabaseMetaData.SYSTEM_CATALOG_TABLE_BYTES) == 0 && Bytes.compareTo(tableName, PhoenixDatabaseMetaData.SYSTEM_CATALOG_SCHEMA_BYTES) == 0;
+        return Bytes.compareTo(schemaName, PhoenixDatabaseMetaData.SYSTEM_CATALOG_SCHEMA_BYTES) == 0 && Bytes.compareTo(tableName, PhoenixDatabaseMetaData.SYSTEM_CATALOG_TABLE_BYTES) == 0;
     }
     
     public static boolean isMetaTable(String schemaName, String tableName) {