aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/locking
diff options
context:
space:
mode:
authorAlexander Leishman <leishman3@gmail.com>2015-03-18 16:41:37 +0800
committerAlexander Leishman <leishman3@gmail.com>2015-03-18 16:41:37 +0800
commit6901a272074aaa75fb69b8f2c7cb80ebf7ae00e7 (patch)
tree37f929f89c6589fcdd4b476c84c538183827df6f /activerecord/lib/active_record/locking
parentfb646969a24be3ec4506515ea89e19ca577a4c40 (diff)
downloadrails-6901a272074aaa75fb69b8f2c7cb80ebf7ae00e7.tar.gz
rails-6901a272074aaa75fb69b8f2c7cb80ebf7ae00e7.tar.bz2
rails-6901a272074aaa75fb69b8f2c7cb80ebf7ae00e7.zip
Update old link in pessimistic.rb comments
Update link in comments to point to latest MySQL production version documentation. See here for reference: http://dev.mysql.com/doc/refman/5.0/en/choosing-version.html
Diffstat (limited to 'activerecord/lib/active_record/locking')
-rw-r--r--activerecord/lib/active_record/locking/pessimistic.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/locking/pessimistic.rb b/activerecord/lib/active_record/locking/pessimistic.rb
index ff7102d35b..3d95c54ef3 100644
--- a/activerecord/lib/active_record/locking/pessimistic.rb
+++ b/activerecord/lib/active_record/locking/pessimistic.rb
@@ -51,7 +51,7 @@ module ActiveRecord
# end
#
# Database-specific information on row locking:
- # MySQL: http://dev.mysql.com/doc/refman/5.1/en/innodb-locking-reads.html
+ # MySQL: http://dev.mysql.com/doc/refman/5.6/en/innodb-locking-reads.html
# PostgreSQL: http://www.postgresql.org/docs/current/interactive/sql-select.html#SQL-FOR-UPDATE-SHARE
module Pessimistic
# Obtain a row lock on this record. Reloads the record to obtain the requested