ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [38/50] [abbrv] ignite git commit: IGNITE-5162: ODBC: minor removal of a dead code.
Date Fri, 05 May 2017 09:45:49 GMT
IGNITE-5162: ODBC: minor removal of a dead code.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/7d288c76
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/7d288c76
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/7d288c76

Branch: refs/heads/ignite-5009
Commit: 7d288c7671fadea9345c8842fbf1a26c21eaa5f6
Parents: c7f09d8
Author: devozerov <vozerov@gridgain.com>
Authored: Thu May 4 13:35:35 2017 +0300
Committer: devozerov <vozerov@gridgain.com>
Committed: Thu May 4 13:35:35 2017 +0300

----------------------------------------------------------------------
 .../ignite/internal/processors/odbc/OdbcMessageParser.java      | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/7d288c76/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/OdbcMessageParser.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/OdbcMessageParser.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/OdbcMessageParser.java
index d999501..517a1a4 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/OdbcMessageParser.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/OdbcMessageParser.java
@@ -81,11 +81,6 @@ public class OdbcMessageParser {
 
                 OdbcHandshakeRequest res = new OdbcHandshakeRequest(longVersion);
 
-                SqlListenerProtocolVersion version = res.version();
-
-                if (version == SqlListenerProtocolVersion.UNKNOWN)
-                    return res;
-
                 res.distributedJoins(reader.readBoolean());
                 res.enforceJoinOrder(reader.readBoolean());
 


Mime
View raw message