You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by sr...@apache.org on 2014/09/22 19:53:44 UTC
git commit: SENTRY-455: Fixed Unit Tests:
TestDbOperations#testIndexTable ( Dapeng Sun via Sravya Tirukkovalur)
Repository: incubator-sentry
Updated Branches:
refs/heads/master 630be6b5f -> c57e65c58
SENTRY-455: Fixed Unit Tests: TestDbOperations#testIndexTable ( Dapeng Sun via Sravya Tirukkovalur)
Project: http://git-wip-us.apache.org/repos/asf/incubator-sentry/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-sentry/commit/c57e65c5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-sentry/tree/c57e65c5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-sentry/diff/c57e65c5
Branch: refs/heads/master
Commit: c57e65c5820b49657b9d059b5f039e71e90c3e77
Parents: 630be6b
Author: Sravya Tirukkovalur <sr...@clouera.com>
Authored: Mon Sep 22 10:52:41 2014 -0700
Committer: Sravya Tirukkovalur <sr...@clouera.com>
Committed: Mon Sep 22 10:52:41 2014 -0700
----------------------------------------------------------------------
.../java/org/apache/sentry/binding/hive/HiveAuthzBindingHook.java | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/c57e65c5/sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/hive/HiveAuthzBindingHook.java
----------------------------------------------------------------------
diff --git a/sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/hive/HiveAuthzBindingHook.java b/sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/hive/HiveAuthzBindingHook.java
index 0546e6a..f872ea2 100644
--- a/sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/hive/HiveAuthzBindingHook.java
+++ b/sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/hive/HiveAuthzBindingHook.java
@@ -165,6 +165,7 @@ public class HiveAuthzBindingHook extends AbstractSemanticAnalyzerHook {
case HiveParser.TOK_ALTERINDEX_REBUILD:
currTab = extractTable((ASTNode)ast.getChild(0)); //type is not TOK_TABNAME
currDB = extractDatabase((ASTNode) ast.getChild(0));
+ break;
case HiveParser.TOK_SHOW_TABLESTATUS:
currDB = extractDatabase((ASTNode)ast.getChild(0));
int children = ast.getChildCount();