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 08:25:00 UTC

[jira] [Commented] (TRAFODION-2701) [ODBC]The maxlength for LargeInt was fixed to 8

    [ https://issues.apache.org/jira/browse/TRAFODION-2701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16112405#comment-16112405 ] 

ASF GitHub Bot commented on TRAFODION-2701:
-------------------------------------------

GitHub user Weixin-Xu opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/1195

    [TRAFODION-2701] The maxlength for LargeInt was fixed to 8

    Snprintf using sizeof(__int64) to set the max length of binding char to bigint with 8 chars.
    It is too short for bigint.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Weixin-Xu/incubator-trafodion odbc

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/1195.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 #1195
    
----
commit c3d5fecb7934055ed02fa3e8fe1e13e1d85f1920
Author: Weixin-Xu <xw...@weixin-1.novalocal>
Date:   2017-08-03T07:48:44Z

    bigint length correct for linux

commit 6a170de7bdd7a96dfc056b59855c620a938c6374
Author: Weixin-Xu <we...@esgyn.cn>
Date:   2017-08-03T07:54:11Z

    bigint length correct for windows

----


> [ODBC]The maxlength for LargeInt was fixed to 8
> -----------------------------------------------
>
>                 Key: TRAFODION-2701
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2701
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: client-odbc-linux, client-odbc-windows
>    Affects Versions: 2.2-incubating, 2.3-incubating
>         Environment: CentOS6.7 Windows
>            Reporter: haolin.song
>             Fix For: 2.2-incubating, 2.3-incubating
>
>
> [ODBC]The maxlength for LargeInt was fixed to 8
> SQLBindParameter
> SQLGetData



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)