Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change sql param to default to undef instead of empty string #577

Merged
merged 1 commit into from
Oct 3, 2014

Commits on Oct 3, 2014

  1. 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.
    Colleen Murphy committed Oct 3, 2014
    Configuration menu
    Copy the full SHA
    bf2c8d4 View commit details
    Browse the repository at this point in the history