Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > mysql gem reporting deadlock

Thread Tools

mysql gem reporting deadlock

Andrew Arrow
Posts: n/a
I posted this message on the mysql forum:,167771,167771

and the ruby code in question uses the mysql-2.7 gem directly. Not
using active record.

When the deadlock occurs it takes about 2 mins and times out with an

But if the run the same SQL in mysql console with two sessions, I get a
deadlock error right away.

Is there a way to make the ruby mysql gem return the deadlock error
without the 2 min wait?

Posted via

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing mysql gem on Win7 x64 for MySQL 5.1.x Geoff Rowell Ruby 5 08-03-2010 06:07 PM
feezing mysql gem + unitiliazed constant MysqlCompat::Mysql Renato Jf Ruby 3 12-15-2009 12:13 AM
mySQL Ruby Gem and MAMP mySQL Mark Meijer Ruby 3 02-03-2008 04:19 AM
RubyGems 0.9.1 calling a gem with gem '<gem>' Austin 7873 Ruby 5 01-27-2007 10:05 PM
jboss/mysql cmp deadlock? Michael Lim Java 4 03-17-2005 10:42 AM