diff options
author | Arthur Nogueira Neves <github@arthurnn.com> | 2016-06-17 12:23:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-17 12:23:50 -0400 |
commit | 6d4df1d3305ecacae26cfde71d06bd374c245418 (patch) | |
tree | 510d2cf52f9f91f62009d84f889773571268a749 /activerecord/lib/active_record/tasks | |
parent | 30dd8b2cb0913b2ecc94d2b1d9e29b15e5913f71 (diff) | |
parent | 941a735bbeafd9068bba8d29fa1c7c5371ad8ce3 (diff) | |
download | rails-6d4df1d3305ecacae26cfde71d06bd374c245418.tar.gz rails-6d4df1d3305ecacae26cfde71d06bd374c245418.tar.bz2 rails-6d4df1d3305ecacae26cfde71d06bd374c245418.zip |
Merge pull request #23301 from ppworks/improve_mysqldump
Improve mysqldump
Diffstat (limited to 'activerecord/lib/active_record/tasks')
-rw-r--r-- | activerecord/lib/active_record/tasks/mysql_database_tasks.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/tasks/mysql_database_tasks.rb b/activerecord/lib/active_record/tasks/mysql_database_tasks.rb index af0c935342..b1a0ad0115 100644 --- a/activerecord/lib/active_record/tasks/mysql_database_tasks.rb +++ b/activerecord/lib/active_record/tasks/mysql_database_tasks.rb @@ -58,6 +58,7 @@ module ActiveRecord args.concat(["--result-file", "#{filename}"]) args.concat(["--no-data"]) args.concat(["--routines"]) + args.concat(["--skip-comments"]) args.concat(["#{configuration['database']}"]) run_cmd('mysqldump', args, 'dumping') |