diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-11-12 00:55:45 -0800 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-11-12 00:55:45 -0800 |
commit | bba8bb8b4020bb5e79784f2395a53e8cde8e82eb (patch) | |
tree | 593dc042cfd9ced39b887722830bcd333c75557e | |
parent | 98991a98398feae3988be72563c80f808a74ebeb (diff) | |
parent | a7394a271b9042340e72b6df75e8f63d3a162af5 (diff) | |
download | rails-bba8bb8b4020bb5e79784f2395a53e8cde8e82eb.tar.gz rails-bba8bb8b4020bb5e79784f2395a53e8cde8e82eb.tar.bz2 rails-bba8bb8b4020bb5e79784f2395a53e8cde8e82eb.zip |
Merge pull request #11921 from Empact/sqlite-3-cleanup
Remove the unused, undocumented SQLite3Adapter#supports_count_distinct?
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | 1 | ||||
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb | 12 |
2 files changed, 1 insertions, 12 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb index eecebdb4e5..adeb57d913 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb @@ -631,7 +631,6 @@ module ActiveRecord true end - # Returns true. def supports_explain? true end diff --git a/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb b/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb index 35a579f29b..2cf1015f2c 100644 --- a/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb @@ -141,14 +141,12 @@ module ActiveRecord 'SQLite' end - # Returns true def supports_ddl_transactions? true end - # Returns true if SQLite version is '3.6.8' or greater, false otherwise. def supports_savepoints? - sqlite_version >= '3.6.8' + true end # Returns true, since this connection adapter supports prepared statement @@ -162,7 +160,6 @@ module ActiveRecord true end - # Returns true. def supports_primary_key? #:nodoc: true end @@ -171,7 +168,6 @@ module ActiveRecord true end - # Returns true def supports_add_column? true end @@ -193,11 +189,6 @@ module ActiveRecord @statements.clear end - # Returns true - def supports_count_distinct? #:nodoc: - true - end - def supports_index_sort_order? true end @@ -218,7 +209,6 @@ module ActiveRecord @connection.encoding.to_s end - # Returns true. def supports_explain? true end |