rails/rails — pull request #7525 by seamusabshere (2012-09-04 23:54:39+00:00)
Title: Use the 'mysql' binary for 'rake db:structure:load'

The previous implementation had the strange requirement that db/structure.sql contain only CREATE TABLE sql statements, one per table, separated by double newlines.

SQLite3 and PostgreSQL database tasks, on the other hand, simply spawn 'sqlite3' and 'psql' binaries to load the file directly.

The new implementation follows this and attempts to respect all current MySQL configuration settings.