aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-12-11 20:55:36 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-12-11 21:07:37 +0900
commit574234402433065e08a407be7cbdc900e5e0f1a3 (patch)
tree8057e982eb3b4e26a57ee94acdd075ea24b46945 /railties
parentcb714c3687f6b0cf13bb4a0655d7b648e37239d7 (diff)
downloadrails-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 'railties')
0 files changed, 0 insertions, 0 deletions