1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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]
This commit is contained in:
Guillermo Iguaran 2016-04-23 22:50:26 -05:00
commit 9f8a6c47c8

View file

@ -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