aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2006-03-01 22:14:00 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2006-03-01 22:14:00 +0000
commita434cec2e64a4ace61990efac36222000044bcee (patch)
tree7743777b1856a7dc264a397a0c1680c84c917414
parentd28c0f740577cdbcbd00e84c0c20aa4903875f37 (diff)
downloadrails-a434cec2e64a4ace61990efac36222000044bcee.tar.gz
rails-a434cec2e64a4ace61990efac36222000044bcee.tar.bz2
rails-a434cec2e64a4ace61990efac36222000044bcee.zip
(duh :)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3732 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb b/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb
index b3ba99a013..a65d6df6a1 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb
@@ -98,7 +98,7 @@ module ActiveRecord
stale = Set.new(cache.keys)
Thread.list.each do |thread|
- stale -= thread.object_id if t.alive?
+ stale.delete(thread.object_id) if thread.alive?
end
stale.each do |thread_id|