[
https://issues.apache.org/jira/browse/TRAFODION-2687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16085473#comment-16085473
]
ASF GitHub Bot commented on TRAFODION-2687:
-------------------------------------------
GitHub user Weixin-Xu opened a pull request:
https://github.com/apache/incubator-trafodion/pull/1177
[TRAFODION-2687] the value of Numeric Struct need not to be changed to
BidEndian
When I fetch data from trafodion with SQL_C_NUMERIC and the type in table
is int, float and so on.The value will be changed to bigendian.
For example,
data in table is: 1
value fetched is : '\0' * 15 and '1'
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Weixin-Xu/incubator-trafodion master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafodion/pull/1177.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 #1177
----
commit c6a634985a45bbe3bc2fd0a62f73e405bfcfe413
Author: Weixin Xu <[email protected]>
Date: 2017-07-07T05:52:59Z
the value of Numeric Struct need not to be changed to BidEndian
----
> the value of Numeric Struct need not to be changed to BidEndian
> ---------------------------------------------------------------
>
> Key: TRAFODION-2687
> URL: https://issues.apache.org/jira/browse/TRAFODION-2687
> Project: Apache Trafodion
> Issue Type: Bug
> Components: client-odbc-linux
> Affects Versions: 2.2-incubating
> Environment: centos 6.7
> Reporter: XuWeixin
> Labels: datatype, linux, odbc
> Fix For: 2.2-incubating
>
>
> When I fetch data from trafodion with SQL_C_NUMERIC and the type in table is
> int, float and so on.The value will be changed to bigendian.
> For example,
> data in table is: 1
> data fetched is : '\0' * 15 and '1'
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)