aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2016-04-23 22:50:26 -0500
committerGuillermo Iguaran <guilleiguaran@gmail.com>2016-04-23 22:50:26 -0500
commit9f8a6c47c89381647b6079201e764d013c3cffe3 (patch)
treed5481d7df1ded3a4c5232e02c24ae3f2ecfb5889 /activerecord
parent77f361736236e66eeed84ffce852f39b4347e36c (diff)
parent7ec31ac4296cc10ca463e1b4673ab5440daf5e1d (diff)
downloadrails-9f8a6c47c89381647b6079201e764d013c3cffe3.tar.gz
rails-9f8a6c47c89381647b6079201e764d013c3cffe3.tar.bz2
rails-9f8a6c47c89381647b6079201e764d013c3cffe3.zip
Merge pull request #24706 from kamipo/remove_in_doc_about_mysql_versions_below_5
Remove in the doc about MySQL versions below 5 [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb
index ddfd97b537..cc33af25f6 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb
@@ -221,9 +221,7 @@ module ActiveRecord
# * You are creating a nested (savepoint) transaction
#
# The mysql2 and postgresql adapters support setting the transaction
- # isolation level. However, support is disabled for MySQL versions below 5,
- # because they are affected by a bug[http://bugs.mysql.com/bug.php?id=39170]
- # which means the isolation level gets persisted outside the transaction.
+ # isolation level.
def transaction(requires_new: nil, isolation: nil, joinable: true)
if !requires_new && current_transaction.joinable?
if isolation