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 2018/11/02 07:00:00 UTC
[jira] [Commented] (TRAFODION-3226) Call SQLGetTypeInfo to gets
SQL_INTEGER type info and return value is incorrect
[ https://issues.apache.org/jira/browse/TRAFODION-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16672660#comment-16672660 ]
ASF GitHub Bot commented on TRAFODION-3226:
-------------------------------------------
GitHub user Weixin-Xu opened a pull request:
https://github.com/apache/trafodion/pull/1736
[TRAFODION-3226] SQLGetTypeInfo returns incorrect precision of int
SQLGetTypeInfo(hstmt, SQL_INTEGER);
When the returned type is INTEGER and INTEGER SIGNED, the column width value is expected to be 10, but it is actually 9.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Weixin-Xu/incubator-trafodion J3226
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafodion/pull/1736.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 #1736
----
commit 5080e422aa9833aaa31d8fdf907a65a7a5e18aab
Author: XuWeixin <we...@...>
Date: 2018-11-02T06:48:09Z
Call SQLGetTypeInfo to gets SQL_INTEGER type info and return value is incorrect
----
> Call SQLGetTypeInfo to gets SQL_INTEGER type info and return value is incorrect
> -------------------------------------------------------------------------------
>
> Key: TRAFODION-3226
> URL: https://issues.apache.org/jira/browse/TRAFODION-3226
> Project: Apache Trafodion
> Issue Type: Bug
> Components: connectivity-mxosrvr
> Affects Versions: 2.3
> Environment: centos6.7
> Reporter: XuWeixin
> Assignee: XuWeixin
> Priority: Major
> Fix For: 2.4
>
>
> SQLGetTypeInfo(hstmt, SQL_INTEGER);
> When the returned type is INTEGER and INTEGER SIGNED, the column width value is expected to be 10, but it is actually 9.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)