puppetlabs/puppetlabs-mysql — pull request #577 by cmurphy (2014-10-03 20:07:46+00:00)
Title: Change sql param to default to undef instead of empty string

The future parser treats the empty string '' as a truthy value. This
means that mysql::db will always try to include the db import exec in
the catalog. With the empty string as the $sql value, the command
attempts to import '' into a database, which fails. This patch changes
the default $sql value to undef so that the exec won't be included if
there is no sql to import.