trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From luoyunpeng <...@git.apache.org>
Subject [GitHub] incubator-trafodion pull request #1175: TRAFODION-2686 fix setCurSorName doe...
Date Tue, 18 Jul 2017 00:46:42 GMT
Github user luoyunpeng commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/1175#discussion_r127860988
  
    --- Diff: core/conn/jdbcT4/src/main/java/org/trafodion/jdbc/t4/TrafT4Statement.java ---
    @@ -1247,7 +1247,7 @@ void setMultipleResultSets(int num_result_sets, TrafT4Desc[][] output_descriptor
     			if (desc == null) {
     				resultSet_[i] = null;
     			} else {
    -				resultSet_[i] = new TrafT4ResultSet(this, desc, stmt_labels[i], true);
    +				resultSet_[i] = new TrafT4ResultSet(this, desc, stmt_labels[i], this.sqlStmtType_==TRANSPORT.TYPE_CALL);
    --- End diff --
    
    this is the parameter pass to spj_rs which is always true  that cause setCursorName in
TraT4Statement.java does not work,


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message