mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #26026 from kamipo/tx_serialization_error_should_inherit_statement_invalid
`TransactionSerializationError` should inherit `StatementInvalid` for backward compatibility
This commit is contained in:
commit
8ada07b2b8
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ module ActiveRecord
|
|||
#
|
||||
# * http://www.postgresql.org/docs/current/static/transaction-iso.html
|
||||
# * https://dev.mysql.com/doc/refman/5.7/en/error-messages-server.html#error_er_lock_deadlock
|
||||
class TransactionSerializationError < ActiveRecordError
|
||||
class TransactionSerializationError < StatementInvalid
|
||||
end
|
||||
|
||||
# IrreversibleOrderError is raised when a relation's order is too complex for
|
||||
|
|
Loading…
Reference in a new issue