This project is archived and is in readonly mode.

#250 ✓stale
Mike Perham

Mysql Deadlock debugging

Reported by Mike Perham | May 25th, 2008 @ 05:01 PM

Deadlocks and lock timeouts can be difficult to debug. This patch updates MysqlAdapter.execute to catch lock errors and print the results of SHOW INNODB STATUS which can help determine the problem.

You can pull the patch from:

http://github.com/mperham/rails/...

Commit c5582f0b82f842af712ae8b9a5efc713bbd736c3

A unit test is included.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Pages