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

Cursor should support bool datatype

    XMLWordPrintable

Details

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

    Description

      mysql.connector supports bool type in cursor parameter

      db = mysql.connector.connect(....)
      c = db.cursor()
      c.execute('select %s', (True, ))
      c.fetchone()
      

      it returns: (1, )

      but, MariaDB connector does not support.

      Attachments

        Activity

          People

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