diff options
author | yui-knk <spiketeika@gmail.com> | 2015-05-12 21:20:42 +0900 |
---|---|---|
committer | yui-knk <spiketeika@gmail.com> | 2015-05-12 21:20:42 +0900 |
commit | 34bc76999378ed16b7bc45726525ce39d7c25f81 (patch) | |
tree | 278a5cdda77693f305d3d6fa5a0538a59c9190eb /activerecord | |
parent | b18f0436e74fb79d3f926c63e2f90cd2d1589935 (diff) | |
download | rails-34bc76999378ed16b7bc45726525ce39d7c25f81.tar.gz rails-34bc76999378ed16b7bc45726525ce39d7c25f81.tar.bz2 rails-34bc76999378ed16b7bc45726525ce39d7c25f81.zip |
[ci skip] Upcase `SAVEPOINT`
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/transactions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/transactions.rb b/activerecord/lib/active_record/transactions.rb index f954e4797c..6f2def0df1 100644 --- a/activerecord/lib/active_record/transactions.rb +++ b/activerecord/lib/active_record/transactions.rb @@ -198,7 +198,7 @@ module ActiveRecord # Model.connection.transaction do # BEGIN # Model.connection.transaction(requires_new: true) do # CREATE SAVEPOINT active_record_1 # Model.connection.create_table(...) # active_record_1 now automatically released - # end # RELEASE savepoint active_record_1 + # end # RELEASE SAVEPOINT active_record_1 # # ^^^^ BOOM! database error! # end # |