aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorNeeraj Singh <neerajdotname@gmail.com>2013-03-07 17:13:01 -0500
committerNeeraj Singh <neerajdotname@gmail.com>2013-03-07 19:03:11 -0500
commitc13284131511fb7871a85659dd0b5e821d9ad29b (patch)
treeee582ae6a7bb302bdde3b99c4cf037872134f063 /activerecord/lib
parentde4a60c9f468bb5bf4bd38220377cc5ac8385102 (diff)
downloadrails-c13284131511fb7871a85659dd0b5e821d9ad29b.tar.gz
rails-c13284131511fb7871a85659dd0b5e821d9ad29b.tar.bz2
rails-c13284131511fb7871a85659dd0b5e821d9ad29b.zip
SQLite3 3.6.8+ supports savepoints
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')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb
index c3d15ca929..c64b542286 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb
@@ -125,7 +125,8 @@ module ActiveRecord
# In order to get around this problem, #transaction will emulate the effect
# of nested transactions, by using savepoints:
# http://dev.mysql.com/doc/refman/5.0/en/savepoint.html
- # Savepoints are supported by MySQL and PostgreSQL, but not SQLite3.
+ # Savepoints are supported by MySQL and PostgreSQL. SQLite3 version >= '3.6.8'
+ # supports savepoints.
#
# It is safe to call this method if a database transaction is already open,
# i.e. if #transaction is called within another #transaction block. In case