Velocity Reviews - Computer Hardware Reviews

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

Reply
Thread Tools

mysql gem reporting deadlock

 
 
Andrew Arrow
Guest
Posts: n/a
 
      08-17-2007
I posted this message on the mysql forum:

http://forums.mysql.com/read.php?97,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
error.

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?

Thanks.
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
Reply

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



Advertisments