mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-21 09:51:31 -07:00
Fix function call
This commit is contained in:
parent
2fed868087
commit
e9fd1db200
1 changed files with 1 additions and 1 deletions
|
@ -617,7 +617,7 @@ def user_add(cursor, user, host, host_all, password, encrypted,
|
|||
query_with_args = "CREATE USER %s@%s", (user, host)
|
||||
|
||||
query_with_args_and_tls_requires = query_with_args + (tls_requires,)
|
||||
cursor.execute(*mogrify(*query_with_args_and_tls_requires))
|
||||
cursor.execute(*mogrify(*query_with_args_and_tls_requires, locking))
|
||||
|
||||
if new_priv is not None:
|
||||
for db_table, priv in iteritems(new_priv):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue