[
https://issues.apache.org/jira/browse/TRAFODION-2231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15688414#comment-15688414
]
ASF GitHub Bot commented on TRAFODION-2231:
-------------------------------------------
Github user selvaganesang commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/725#discussion_r89238905
--- Diff: core/sqf/src/seatrans/tm/hbasetmlib2/hbasetm.cpp ---
@@ -913,6 +921,10 @@ int CHbaseTM::alterTable(int64 pv_transid,
jba_tblname,
j_tblopts);
if (getExceptionDetails(NULL)) {
+ int errMsgLen = (int)_tlp_error_msg->length();
+ errstrlen = ((errMsgLen < errstrlen) && (errMsgLen > 0)) ? errMsgLen
: errstrlen;
+ strncpy(errstr, _tlp_error_msg->c_str(), errstrlen);
+ errstr[errstrlen -1] = '\0';
--- End diff --
Consider fixing it as per @DaveBirdsall comments
> DDL create/drop detailed error string is not propagated
> -------------------------------------------------------
>
> Key: TRAFODION-2231
> URL: https://issues.apache.org/jira/browse/TRAFODION-2231
> Project: Apache Trafodion
> Issue Type: Bug
> Components: dtm
> Reporter: Prashanth Vasudev
> Assignee: Prashanth Vasudev
> Fix For: 2.1-incubating
>
>
> TRAFODION-2148 takes care of reporting error code in failure scenario,
> however the cause/error string or stack trace is missing for additional info.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)