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 <weixin.xu@...>
Date: 2018-11-02T06:48:09Z
Call SQLGetTypeInfo to gets SQL_INTEGER type info and return value is
incorrect
----
---