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

None values are not passed to converter

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.1.4
    • 1.1.5
    • Other
    • None
    • 3.10

    Description

      NULL (None) values are not passed to converter, since they are filtered out in ma_convert_function:

      if (!self->connection->converter || value == Py_None)
        return NULL;
      

      Additionally, in fetch functions, the type should be set to MYSQL_TYPE_NULL, if passed data element is NULL.

      Thanks to Cole Busby for finding this issue!

      Attachments

        Activity

          People

            georg Georg Richter
            georg Georg Richter
            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.