Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use updated syntax for "show innodb status" statement

  • Loading branch information...
commit d2757bb334badea73d4a5775ac4764fe45594f17 1 parent e06d7d6
@jamis authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/deadlock_retry.rb
2  lib/deadlock_retry.rb
@@ -77,7 +77,7 @@ def in_nested_transaction?
def log_innodb_status
# `show innodb status` is the only way to get visiblity into why the transaction deadlocked
- lines = connection.select_value("show innodb status")
+ lines = connection.select_value("show engine innodb status")"INNODB Status follows:", self)
lines.each_line { |line|, self) }
rescue Exception => e
Please sign in to comment.
Something went wrong with that request. Please try again.