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

Fixes: #38318
pull/63778/head
Christopher G Andrews 5 years ago committed by Abhijeet Kasurde
parent 2e65c1ebb7
commit c317c3cadf

@ -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…
Cancel
Save