Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-2903

The COLUMN_SIZE fetched from mxosrvr is wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • any
    • 2.4
    • connectivity-mxosrvr
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              XuWeixin XuWeixin
              XuWeixin XuWeixin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: