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

change_user method doesn't allow None values

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.1.9
    • 1.1.10
    • Generic
    • None
    • 3.10

    Description

      change_user() method of connection object doesn't allow to pass None values, for e.g. empty password:

      >>> import mariadb
      >>> conn=mariadb.connect(user="root")
      >>> conn.change_user("root", None, None)
      Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      TypeError: argument 2 must be str, not None

      Attachments

        Activity

          People

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