mysql_db: Correct argument for single database entry (#38326)

Fixes: #38318
This commit is contained in:
Christopher G Andrews 2019-10-22 05:20:03 -04:00 committed by Abhijeet Kasurde
parent 2e65c1ebb7
commit c317c3cadf

View file

@ -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