Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-353

Unsigned 64-bit integer parameters mishandled in prepared-statement binding

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.0.0-rc
    • 2.0.0-rc3
    • N/A
    • None

    Description

      When a Python int in the unsigned 64-bit range [2^63, 2^64-1] is bound as a parameter to a prepared statement (binary protocol), the connector does not set the COM_STMT_EXECUTE / COM_STMT_BULK_EXECUTE unsigned parameter flag (0x80) and packs the value as a signed 64-bit integer.

      that issue is either in pure python and C implementation.

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.