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

SQLGetInfo(SQL_FILE_USAGE) crashes connector

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

          Lawrin Lawrin Novitsky created issue -

          The fix has been merged from the pull request

          Lawrin Lawrin Novitsky added a comment - The fix has been merged from the pull request
          Lawrin Lawrin Novitsky made changes -
          Field Original Value New Value
          Fix Version/s 3.0.0 [ 22038 ]
          Fix Version/s 2.0.13 [ 22304 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB connectors [ 77850 ] MariaDB v3 [ 84035 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 84035 ] MariaDB v4 [ 135411 ]

          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.