aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/transactions.rb
diff options
context:
space:
mode:
authorNeeraj Singh <neerajdotname@gmail.com>2013-03-11 21:07:17 -0400
committerNeeraj Singh <neerajdotname@gmail.com>2013-03-18 08:38:35 -0400
commitafe38b1eb7683a077c5b1770d69be0bbc11920f7 (patch)
treed1632616b88088223d6b34a669a57691d1755e2a /activerecord/lib/active_record/transactions.rb
parentcae93be0cac32eaa75746dda00454a26c4654be5 (diff)
downloadrails-afe38b1eb7683a077c5b1770d69be0bbc11920f7.tar.gz
rails-afe38b1eb7683a077c5b1770d69be0bbc11920f7.tar.bz2
rails-afe38b1eb7683a077c5b1770d69be0bbc11920f7.zip
SQLite3 3.6.8+ supports nested transactions [ci skip]
http://www.sqlite.org/lang_savepoint.html https://github.com/rails/rails/blob/master/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L130-L132
Diffstat (limited to 'activerecord/lib/active_record/transactions.rb')
-rw-r--r--activerecord/lib/active_record/transactions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/transactions.rb b/activerecord/lib/active_record/transactions.rb
index 33718ef0e9..4dbd668fcf 100644
--- a/activerecord/lib/active_record/transactions.rb
+++ b/activerecord/lib/active_record/transactions.rb
@@ -160,7 +160,7 @@ module ActiveRecord
# end
# end
#
- # only "Kotori" is created. (This works on MySQL and PostgreSQL, but not on SQLite3.)
+ # only "Kotori" is created. This works on MySQL and PostgreSQL. SQLite3 version >= '3.6.8' also supports it.
#
# Most databases don't support true nested transactions. At the time of
# writing, the only database that we're aware of that supports true nested