Repository: incubator-trafodion Updated Branches: refs/heads/master 12421570b -> 56183e291
the value of Numeric Struct need not to be changed to BidEndian Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/1b835a6a Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/1b835a6a Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/1b835a6a Branch: refs/heads/master Commit: 1b835a6a3405b446835b3e435e128627b50392b8 Parents: 802f3b0 Author: Weixin-Xu <xwx@weixin-1.novalocal> Authored: Thu Aug 3 17:05:37 2017 +0800 Committer: Weixin-Xu <xwx@weixin-1.novalocal> Committed: Thu Aug 3 17:05:37 2017 +0800 ---------------------------------------------------------------------- core/conn/unixodbc/odbc/odbcclient/unixcli/cli/sqltocconv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/1b835a6a/core/conn/unixodbc/odbc/odbcclient/unixcli/cli/sqltocconv.cpp ---------------------------------------------------------------------- diff --git a/core/conn/unixodbc/odbc/odbcclient/unixcli/cli/sqltocconv.cpp b/core/conn/unixodbc/odbc/odbcclient/unixcli/cli/sqltocconv.cpp index b1fdcb9..7e7e8c0 100644 --- a/core/conn/unixodbc/odbc/odbcclient/unixcli/cli/sqltocconv.cpp +++ b/core/conn/unixodbc/odbc/odbcclient/unixcli/cli/sqltocconv.cpp @@ -3241,7 +3241,7 @@ unsigned long ODBC::ConvertSQLToC(SQLINTEGER ODBCAppVersion, } - if ((retCode = ConvertCharToBigEndianCNumeric( numericTmp, cTmpBuf)) != SQL_SUCCESS) + if ((retCode = ConvertCharToCNumeric( numericTmp, cTmpBuf)) != SQL_SUCCESS) return retCode; DataPtr = &numericTmp;