You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/08/03 09:24:00 UTC
[jira] [Commented] (TRAFODION-2687) the value of Numeric Struct
need not to be changed to BidEndian
[ https://issues.apache.org/jira/browse/TRAFODION-2687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16112476#comment-16112476 ]
ASF GitHub Bot commented on TRAFODION-2687:
-------------------------------------------
GitHub user Weixin-Xu opened a pull request:
https://github.com/apache/incubator-trafodion/pull/1196
[TRAFODION-2687] the value of Numeric Struct need not to be changed to BidEndian
For our server , little endian is used.
So we need not to swap value to big endian
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/1196.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 #1196
----
commit 1b835a6a3405b446835b3e435e128627b50392b8
Author: Weixin-Xu <xw...@weixin-1.novalocal>
Date: 2017-08-03T09:05:37Z
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)