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

SQLGetInfo(SQL_FILE_USAGE) crashes connector

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0, 2.0.13
    • None
    • None

    Description

      To repeat:

      ODBC_TEST(bug_odbc61)

      { SQLUSMALLINT info= 0xef; CHECK_DBC_RC(Connection, SQLGetInfo(Connection, SQL_FILE_USAGE, &info, 0, NULL)); return OK; }

      To fix in
      case SQL_FILE_USAGE:
      MADB_SET_NUM_VAL(SQLUINTEGER, InfoValuePtr, SQL_FILE_NOT_SUPPORTED, StringLengthPtr);
      SQLUINTEGER has to be changed to SQLUSMALLINT, that according to specs it must be

      Attachments

        Activity

          People

            Lawrin Lawrin Novitsky
            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.