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

LP Bug: 1325391 - SQLGetTypeInfo returns type names with imbedded nulls

    XMLWordPrintableJSON

Details

    Description

      SQLGetTypeInfo(hstmt,SQL_ALL_TYPES);
      SQLFetch(hstmt);
      SQLGetData(hstmt,1,SQL_C_DEFAULT,TypeName,SQL_MAX_COL_NAME+1,&StrLen);

      After the SQLGetData call TypeName contains “I\0N\0T\0E\0G\0E\0R\0\0\0” with StrLen= 16 instead of “INTERGER\0” with StrLen=8. The prevents the ODBC DTM tests from running.

      Attachments

        Activity

          People

            daniellu Daniel Lu
            marvin.anderson Marvin Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: