diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-12-11 20:55:36 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-12-11 21:07:37 +0900 |
commit | 574234402433065e08a407be7cbdc900e5e0f1a3 (patch) | |
tree | 8057e982eb3b4e26a57ee94acdd075ea24b46945 /activerecord/test/cases/transactions_test.rb | |
parent | cb714c3687f6b0cf13bb4a0655d7b648e37239d7 (diff) | |
download | rails-574234402433065e08a407be7cbdc900e5e0f1a3.tar.gz rails-574234402433065e08a407be7cbdc900e5e0f1a3.tar.bz2 rails-574234402433065e08a407be7cbdc900e5e0f1a3.zip |
An empty transaction does not raise the `ReadOnlyError` if preventing writes
BEGIN transaction would cause COMMIT or ROLLBACK, so unless COMMIT and
ROLLBACK aren't treated as write queries as well as BEGIN, the
`ReadOnlyError` would be raised.
Diffstat (limited to 'activerecord/test/cases/transactions_test.rb')
0 files changed, 0 insertions, 0 deletions