[ 
https://issues.apache.org/jira/browse/TRAFODION-2704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16149278#comment-16149278
 ] 

ASF GitHub Bot commented on TRAFODION-2704:
-------------------------------------------

Github user sandhyasun commented on a diff in the pull request:

    
https://github.com/apache/incubator-trafodion/pull/1207#discussion_r136393387
  
    --- Diff: core/conn/odbc/src/odbc/nsksrvrcore/srvrothers.cpp ---
    @@ -6591,6 +6612,10 @@ odbc_SQLSrvr_UpdateLob_sme_(
             exception_->u.ParamError.ParamDesc = 
SQLSVC_EXCEPTION_EXECUTE_FAILED;
         }
     
    +    if (QryLobUpdateSrvrStmt != NULL) {
    +        QryLobUpdateSrvrStmt->Close(SQL_CLOSE);
    +    }
    +
    --- End diff --
    
    This doesn't really close the internal cursor statements that SQL maintains 
to retrieve the LOB data. The JDBC driver has to issue a special syntax to 
close it. Once PR  https://github.com/apache/incubator-trafodion/pull/1216  is 
merged in the special syntax needs to be issued to close the stream output ( 
SQL extract ) 


> JDBC regression test failed by too many statement on the same session
> ---------------------------------------------------------------------
>
>                 Key: TRAFODION-2704
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2704
>             Project: Apache Trafodion
>          Issue Type: Bug
>            Reporter: Weiqing Xu
>            Assignee: Weiqing Xu
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to