Permalink
Browse files

Merge pull request #11921 from Empact/sqlite-3-cleanup

Remove the unused, undocumented SQLite3Adapter#supports_count_distinct?
  • Loading branch information...
2 parents 98991a9 + a7394a2 commit bba8bb8b4020bb5e79784f2395a53e8cde8e82eb @senny senny committed Nov 12, 2013
@@ -631,7 +631,6 @@ def supports_ddl_transactions?
true
end
- # Returns true.
def supports_explain?
true
end
@@ -141,14 +141,12 @@ def adapter_name #:nodoc:
'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 @@ def supports_migrations? #:nodoc:
true
end
- # Returns true.
def supports_primary_key? #:nodoc:
true
end
@@ -171,7 +168,6 @@ def requires_reloading?
true
end
- # Returns true
def supports_add_column?
true
end
@@ -193,11 +189,6 @@ def clear_cache!
@statements.clear
end
- # Returns true
- def supports_count_distinct? #:nodoc:
- true
- end
-
def supports_index_sort_order?
true
end
@@ -218,7 +209,6 @@ def encoding
@connection.encoding.to_s
end
- # Returns true.
def supports_explain?
true
end

0 comments on commit bba8bb8

Please sign in to comment.