Skip to content
This repository
Browse code

current AR::ConnectionAdapters::SQLite3Adapter supports only SQLite3 …

…~> 1.3.6
  • Loading branch information...
commit 998ef50ef100ee02ac3f9fbfcfa5882ac5d44f08 1 parent 2eb4ebe
Akira Matsuda amatsuda authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  activerecord/test/cases/query_cache_test.rb
2  activerecord/test/cases/query_cache_test.rb
@@ -160,7 +160,7 @@ def test_cache_does_not_wrap_string_results_in_arrays
160 160 # Oracle adapter returns count() as Fixnum or Float
161 161 if current_adapter?(:OracleAdapter)
162 162 assert_kind_of Numeric, Task.connection.select_value("SELECT count(*) AS count_all FROM tasks")
163   - elsif current_adapter?(:SQLite3Adapter) && sqlite3_version > '1.2.5' || current_adapter?(:Mysql2Adapter) || current_adapter?(:MysqlAdapter)
  163 + elsif current_adapter?(:SQLite3Adapter) || current_adapter?(:Mysql2Adapter) || current_adapter?(:MysqlAdapter)
164 164 # Future versions of the sqlite3 adapter will return numeric
165 165 assert_instance_of Fixnum,
166 166 Task.connection.select_value("SELECT count(*) AS count_all FROM tasks")

0 comments on commit 998ef50

Please sign in to comment.
Something went wrong with that request. Please try again.