Uploaded image for project: 'MariaDB Connector/ODBC'
  1. MariaDB Connector/ODBC
  2. ODBC-509

SQL_MAX_IDENTIFIER_LEN info type should be in characters, not in bytes.

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 3.1.24, 3.2.10
    • 3.2.11, 3.1.25
    • General
    • None

    Description

      ODBC specs explicitly say that SQL_MAX_IDENTIFIER_LEN type info is length in characters. Additional story that ODBC specs by "characters" often mean SQLWCHAR units. It's kinda have to be decided, But currently it returns bytes. for other info types - SQL_MAX_CATALOG_NAME_LEN, SQL_MAX_COLUMN_NAME_LEN, SQL_MAX_TABLE_NAME_LEN the specs say nothing. Even though it feels like it has to be in characters, we better keep it as it is now - in bytes

      Attachments

        Activity

          People

            Lawrin Lawrin Novitsky
            Lawrin Lawrin Novitsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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