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

MariaDB python connector and have noticed a difference in how things seem to be converted

    XMLWordPrintable

Details

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

    Description

      We are testing out utilizing the MariaDB python connector and have noticed a difference in how things seem to be converted. We have a lot of processes that return the value as a decimal, and from that point we do comparisons on them. When running the MariaDB python connector, these seem to be converted into a string when returned from the database, this causing issues in the direct comparisons.

      MariaDB Connector return with decimal values, shown as a string:
      [['27', 53549, '0.0005', '0.9995']]

      Other connectors:
      [[Decimal('27'), 53549, Decimal('0.0005'), Decimal('0.9995')]]

      Attachments

        Activity

          People

            georg Georg Richter
            hill David Hill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.