[
https://issues.apache.org/jira/browse/TRAFODION-2922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16334069#comment-16334069
]
ASF GitHub Bot commented on TRAFODION-2922:
-------------------------------------------
GitHub user partnation opened a pull request:
https://github.com/apache/trafodion/pull/1410
TRAFODION-2922 fix return incorrect affect row count
The batchRowCount array is used to store rowcount for each batch sql
comman,it should be the return value of ist_.getRowCount() . BatchRowCount_new
twice, apply for extra memory.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/partnation/trafodion master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafodion/pull/1410.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1410
----
commit 53cacb8d98df64fb715c57cd75d09aedd2dae2e2
Author: Li Ze <ze.li@...>
Date: 2018-01-22T09:00:13Z
TRAFODION-2922 fix return incorrect affect row count
----
> calling int[] executeBatch() method execute
> create/drop/delete/insert/update/upsert statement always return -2
> --------------------------------------------------------------------------------------------------------------
>
> Key: TRAFODION-2922
> URL: https://issues.apache.org/jira/browse/TRAFODION-2922
> Project: Apache Trafodion
> Issue Type: Bug
> Components: client-jdbc-t4
> Affects Versions: 2.3
> Reporter: LiZe
> Priority: Major
> Fix For: 2.3
>
>
> calling int[] executeBatch() method execute
> create/drop/delete/insert/update/upsert statement always return -2,but jdbc
> t2 is pass
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)