This PR aims to mimic the mysqldump option no-create-db.
This is useful if for example you only want to dump the data but not the schema, without this option it would dump the data but with the CREATE DATABASE... and USE DATABASE statements, which is undesirable.
This PR aims to mimic the mysqldump option no-create-db.
This is useful if for example you only want to dump the data but not the schema, without this option it would dump the data but with the
CREATE DATABASE...
andUSE DATABASE
statements, which is undesirable.I'm sorry I wasn't capabale of adding a test.