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

Remove in the doc about MySQL versions below 5 [ci skip]

Follow up to #23458.
Active Record supports MySQL >= 5.0 now.
This commit is contained in:
Ryuta Kamizono 2016-04-24 11:02:30 +09:00
parent 39f1dac9a5
commit 7ec31ac429

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