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

Fetching bigint data to double buffer fails for big values

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 3.1.20
    • 3.1.21
    • General
    • None

    Description

      The the conversion fails for values > 0x80000000000000(or 36028797018963968 decimal)
      SQLFetch() returns error in such case. SQLGetData() does not, but truncates the value to 0x80000000000000(or 36028797018963968). This value must be platform dependent though - the max int64 translated to double w/out truncation.
      3.2 driver does not have that problem.

      Attachments

        Activity

          People

            Lawrin Lawrin Novitsky
            Lawrin Lawrin Novitsky
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.