You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by la...@apache.org on 2019/06/27 16:37:09 UTC

[phoenix] branch master updated: PHOENIX-4513 Fix the recursive call in ExecutableExplainStatement#getOperation. (Chia-Ping Tsai)

This is an automated email from the ASF dual-hosted git repository.

larsh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/master by this push:
     new af69f43  PHOENIX-4513 Fix the recursive call in ExecutableExplainStatement#getOperation. (Chia-Ping Tsai)
af69f43 is described below

commit af69f430fdf9e2a5299246d5c217a20446a72f5e
Author: Lars Hofhansl <la...@apache.org>
AuthorDate: Thu Jun 27 09:37:36 2019 -0700

    PHOENIX-4513 Fix the recursive call in ExecutableExplainStatement#getOperation. (Chia-Ping Tsai)
---
 .../src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java  | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java b/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java
index 95ae1e3..5580672 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java
@@ -739,10 +739,11 @@ public class PhoenixStatement implements Statement, SQLCloseable {
                     return true;
                 }
 
-				@Override
-				public Operation getOperation() {
-					return this.getOperation();
-				}
+                @Override
+                public Operation getOperation() {
+                    return ExecutableExplainStatement.this.getOperation();
+                }
+
                 @Override
                 public boolean useRoundRobinIterator() throws SQLException {
                     return false;