mysql_db: Correct argument for single database entry (#38326)
Fixes: #38318
This commit is contained in:
parent
2e65c1ebb7
commit
c317c3cadf
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ def db_import(module, host, user, password, db_name, target, all_databases, port
|
|||
cmd.append("--host=%s" % shlex_quote(host))
|
||||
cmd.append("--port=%i" % port)
|
||||
if not all_databases:
|
||||
cmd.append("-D")
|
||||
cmd.append("--one-database")
|
||||
cmd.append(shlex_quote(''.join(db_name)))
|
||||
|
||||
comp_prog_path = None
|
||||
|
|
Loading…
Reference in a new issue