mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Initial doc for TransactionIsolationError [ci skip]
This commit is contained in:
parent
bdbf00dc78
commit
b1db6154b5
1 changed files with 3 additions and 0 deletions
|
@ -217,6 +217,9 @@ module ActiveRecord
|
|||
class ImmutableRelation < ActiveRecordError
|
||||
end
|
||||
|
||||
# TransactionIsolationError will be raised if: The adapter does not support setting the isolation level;
|
||||
# You are joining an existing open transaction; You are creating a nested (savepoint) transaction; The mysql,
|
||||
# mysql2 and postgresql adapters support setting the transaction isolation level.
|
||||
class TransactionIsolationError < ActiveRecordError
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue