Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.0.6
    • None
    • None

    Description

      SQLDriverConnect doesn't return the connection string in the OutConnectionString variable.

      Attachments

        Activity

          Thank you for your bug report.
          Could you please provide some more details? What version do you use, what are conditions for the error to occur, etc

          Because basically I can see it is returned. I think I have noticed some problems with out string length, but out string is not empty.

          Lawrin Lawrin Novitsky added a comment - Thank you for your bug report. Could you please provide some more details? What version do you use, what are conditions for the error to occur, etc Because basically I can see it is returned. I think I have noticed some problems with out string length, but out string is not empty.
          Hinto Bryan Boone added a comment -

          Using
          Given:
          MariaDB ODBC 1.0 Driver

          SWORD cbConnStrIn = 0;
          SWORD cbConnStrOutMax = 510;
          SWORD cbConnStrIn = 0;
          SWORD cbConnStrOut = 0;
          SQLHWND hwndForDriverPrompt = ...

          SQLDriverConnect(hdbc, hwndForDriverPrompt, szConnStrIn, cbConnStrIn,
          szConnStrOut, cbConnStrOutMax, &cbConnStrOut, SQL_DRIVER_COMPLETE )

          szConnStrOut comes back as an empty string.

          Hinto Bryan Boone added a comment - Using Given: MariaDB ODBC 1.0 Driver SWORD cbConnStrIn = 0; SWORD cbConnStrOutMax = 510; SWORD cbConnStrIn = 0; SWORD cbConnStrOut = 0; SQLHWND hwndForDriverPrompt = ... SQLDriverConnect(hdbc, hwndForDriverPrompt, szConnStrIn, cbConnStrIn, szConnStrOut, cbConnStrOutMax, &cbConnStrOut, SQL_DRIVER_COMPLETE ) szConnStrOut comes back as an empty string.

          Fix has been pushed in rev# d47f

          Lawrin Lawrin Novitsky added a comment - Fix has been pushed in rev# d47f

          People

            Lawrin Lawrin Novitsky
            Hinto Bryan Boone
            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.