提交 f3e14587 编写于 作者: Z Zachary Scott

Merge pull request #15380 from Gaurav2728/gaurav-transaction_isolation_error

Initial doc for TransactionIsolationError [ci skip]
......@@ -217,6 +217,9 @@ def initialize(model)
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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册