]> source.dussan.org Git - redmine.git/commit
scm: mercurial: add :order => 'id DESC' explicitly for MySQL test fails.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 11 Mar 2011 07:34:14 +0000 (07:34 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 11 Mar 2011 07:34:14 +0000 (07:34 +0000)
commit0d63e9e8fde36c88cf60095f814e5b76edb54027
tree3a6a3ff8262f56e6d23a2fcf5cf614ac0405d49e
parentcb8c2d59bf7569aa2e24ad5b79852a6a82217e88
scm: mercurial: add :order => 'id DESC' explicitly for MySQL test fails.

Because :order => 'id DESC' is defined at 'has_many',
there is no need to set 'order'.
But, MySQL test fails.
Sqlite3 and PostgreSQL pass.
Is this MySQL bug?

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5091 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/models/repository/mercurial.rb