Uploaded image for project: 'MariaDB Connector/C++'
  1. MariaDB Connector/C++
  2. CONCPP-137

Inconsistent prefix from getColumnTypeName

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.1.5
    • 1.0.5, 1.1.6
    • General
    • None
    • Windows

    Description

      sql::mariadb::ColumnType::getColumnTypeName returns names of inconsistent prefix for different types. For example, it returns "CHAR" for CHAR type, but "Types::TIMESTAMP" for TIMESTAMP type. This behavior differs from the Java connector and is very unexpected. I suggest that they shall be aligned to the Java connector, i.e., no prefix for all types.

      Attachments

        Activity

          Thank you for your report. That makes sense. The fix has been pushed. Now all type names returned by ResultSetMetaData::getColumnTypeName() without prefix "Types::"

          Lawrin Lawrin Novitsky added a comment - Thank you for your report. That makes sense. The fix has been pushed. Now all type names returned by ResultSetMetaData::getColumnTypeName() without prefix "Types::"

          People

            Lawrin Lawrin Novitsky
            埃博拉酱 埃博拉酱
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.