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/02/04 01:41:00 UTC
[jira] [Commented] (TRAFODION-2903) The COLUMN_SIZE fetched from
mxosrvr is wrong
[ https://issues.apache.org/jira/browse/TRAFODION-2903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16351597#comment-16351597 ]
ASF GitHub Bot commented on TRAFODION-2903:
-------------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/trafodion/pull/1395
> The COLUMN_SIZE fetched from mxosrvr is wrong
> ---------------------------------------------
>
> Key: TRAFODION-2903
> URL: https://issues.apache.org/jira/browse/TRAFODION-2903
> Project: Apache Trafodion
> Issue Type: Bug
> Components: connectivity-mxosrvr
> Affects Versions: any
> Reporter: XuWeixin
> Assignee: XuWeixin
> Priority: Major
> Fix For: 2.2-incubating
>
>
> 1. DDL: create table TEST (C1 L4PKE date,C2 time,C3 timestamp)
> 2. SQLColumns(hstmt,(SQLTCHAR*)"TRAFODION",SQL_NTS,(SQLTCHAR*)"SEABASE",SQL_NTS,(SQLTCHAR*)"TEST",SQL_NTS,(SQLTCHAR*)"%",SQL_NTS);
> 3. SQLBindCol(hstmt,7,SQL_C_LONG,&ColPrec,0,&len)
> 4. SQLFetch(hstmt)
> return DATE ColPrec expect: 10 and actual: 11
> TIME ColPrec expect: 8 and actual: 9
> TIMESTAMP ColPrec expect: 19 and actual: 20
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)