You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2022/01/13 12:33:57 UTC

[GitHub] [ignite-3] korlov42 commented on a change in pull request #522: IGNITE-15648 Added JDBC integration tests

korlov42 commented on a change in pull request #522:
URL: https://github.com/apache/ignite-3/pull/522#discussion_r783916157



##########
File path: modules/client-handler/src/main/java/org/apache/ignite/client/handler/JdbcQueryEventHandlerImpl.java
##########
@@ -299,16 +299,16 @@ private QuerySingleResult createJdbcResult(SqlCursor<List<?>> cur, QueryExecuteR
             case EXPLAIN:
             case QUERY:
                 return new QuerySingleResult(cursorId, fetch, !hasNext);
-            case DML:
-            case DDL: {
+            case DML: {
                 if (!validateDmlResult(fetch, hasNext)) {
                     return new QuerySingleResult(Response.STATUS_FAILED,
                             "Unexpected result for DML query [" + req.sqlQuery() + "].");
                 }
 
                 return new QuerySingleResult(cursorId, (Long) fetch.get(0).get(0));
-            }
-            default:
+            } case DDL: {

Review comment:
       fixed




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org