diff options
author | Hongli Lai (Phusion) <hongli@phusion.nl> | 2008-10-09 15:41:56 +0200 |
---|---|---|
committer | Hongli Lai (Phusion) <hongli@phusion.nl> | 2008-11-03 20:56:14 +0100 |
commit | 885c11b8f9e18f34b12076023455e72166365f00 (patch) | |
tree | bfe3f92932d8f8209a8608fc34a9fdeb3d3d150a /activerecord/lib/active_record/connection_adapters/abstract_adapter.rb | |
parent | e981eaaf342d06e399b5138553c964adcfadd87c (diff) | |
download | rails-885c11b8f9e18f34b12076023455e72166365f00.tar.gz rails-885c11b8f9e18f34b12076023455e72166365f00.tar.bz2 rails-885c11b8f9e18f34b12076023455e72166365f00.zip |
Make SQLite3 pass the unit tests for savepoints.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/abstract_adapter.rb')
-rwxr-xr-x | activerecord/lib/active_record/connection_adapters/abstract_adapter.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb index 45a6cff346..81260eeecc 100755 --- a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb @@ -65,6 +65,12 @@ module ActiveRecord def supports_ddl_transactions? false end + + # Does this adapter support savepoints? PostgreSQL and MySQL do, SQLite + # does not. + def supports_savepoints? + false + end # Should primary key values be selected from their corresponding # sequence before the insert statement? If true, next_sequence_value |