You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "XuWeixin (JIRA)" <ji...@apache.org> on 2018/01/11 07:22:00 UTC

[jira] [Assigned] (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:all-tabpanel ]

XuWeixin reassigned TRAFODION-2903:
-----------------------------------

    Assignee: XuWeixin

> 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
>             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
(v6.4.14#64029)