Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.1.9
-
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