[
https://issues.apache.org/jira/browse/TRAFODION-2414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15798404#comment-15798404
]
ASF GitHub Bot commented on TRAFODION-2414:
-------------------------------------------
Github user selvaganesang commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/885#discussion_r94593238
--- Diff: core/sqf/src/tm/tmlib.cpp ---
@@ -956,13 +956,39 @@ short BEGINTX(int *pp_tag, int pv_timeout, int64
pv_type_flags)
return lv_error;
} //BEGINTX
+//--------------------------------------------------------------------
+//DEALLOCATE_ERR
+//
+//Purpose : Called subsequent to ENDTRANSACTION_ERR
+//Params : none
+//--------------------------------------------------------------------
+void DEALLOCATE_ERR(char *&errStr)
+{
+ if(errStr)
+ delete errStr;
--- End diff --
Should we set the errStr to NULL
> 8616 error to display transaction conflict details.
> -----------------------------------------------------
>
> Key: TRAFODION-2414
> URL: https://issues.apache.org/jira/browse/TRAFODION-2414
> Project: Apache Trafodion
> Issue Type: Improvement
> Components: dtm, sql-exe
> Affects Versions: any
> Reporter: Prashanth Vasudev
> Assignee: Prashanth Vasudev
> Fix For: 2.1-incubating
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)