rails/rails — pull request #9762 by senny (2013-03-17 15:49:49+00:00)
Title: `rake db:create` does not change permissions of root user.

Closes #8079.

I had to rework some of the tests because the mock allowed any arguments
for `connection.exeucte`. I think this is very dangerous as there could
anything be executed without the tests noticing it.