diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-03-04 13:02:38 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-03-06 15:12:48 +0100 |
commit | 0a5fdcd5ae2f7928ce9ce492c9815ad71f858a9f (patch) | |
tree | 266606a6ffa2b92a57529c724f6875a02c63e1e3 /activerecord/CHANGELOG.md | |
parent | 854b74242c03b34df6b0107b23361b5c130b9550 (diff) | |
download | rails-0a5fdcd5ae2f7928ce9ce492c9815ad71f858a9f.tar.gz rails-0a5fdcd5ae2f7928ce9ce492c9815ad71f858a9f.tar.bz2 rails-0a5fdcd5ae2f7928ce9ce492c9815ad71f858a9f.zip |
rake db:structure:dump warns when `mysqldump` is not in PATH.
Closes #9518.
The rake task used to fail silently and left an empty `structure.sql`.
It's confusing for users to get to the root of the problem.
The warning message tells them where to look.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 105bf6f88a..a7b5ba9f3e 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,5 +1,11 @@ ## Rails 4.0.0 (unreleased) ## +* Warn when `rake db:structure:dump` with a mysl database and + `mysqldump` is not in the PATH or fails. + Fixes #9518. + + *Yves Senn* + * Remove `connection#structure_dump`, which is no longer used. *Yves Senn* * Make it possible to execute migrations without a transaction even |