summaryrefslogtreecommitdiffstats
path: root/activerecord-3.0.3-sqlite3-compat.patch
diff options
context:
space:
mode:
authorVít Ondruch <vondruch@redhat.com>2011-03-28 14:43:19 +0200
committerVít Ondruch <vondruch@redhat.com>2011-03-28 14:43:19 +0200
commit642a1f76134410da3f2da4e58f1bef086d2937a1 (patch)
treefc1b8315d704867408225fe2234d61dcc6ca3a6d /activerecord-3.0.3-sqlite3-compat.patch
parente4c83d376d24d42eb848b98f603520df57fd53eb (diff)
downloadrubygem-activerecord-642a1f76134410da3f2da4e58f1bef086d2937a1.tar.gz
rubygem-activerecord-642a1f76134410da3f2da4e58f1bef086d2937a1.tar.xz
rubygem-activerecord-642a1f76134410da3f2da4e58f1bef086d2937a1.zip
Updated to ActiveRecord 3.0.5.
Diffstat (limited to 'activerecord-3.0.3-sqlite3-compat.patch')
-rw-r--r--activerecord-3.0.3-sqlite3-compat.patch11
1 files changed, 0 insertions, 11 deletions
diff --git a/activerecord-3.0.3-sqlite3-compat.patch b/activerecord-3.0.3-sqlite3-compat.patch
deleted file mode 100644
index 0410820..0000000
--- a/activerecord-3.0.3-sqlite3-compat.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- test/cases/query_cache_test.rb.orig 2011-01-18 00:43:16.443404999 -0500
-+++ test/cases/query_cache_test.rb 2011-01-18 00:51:08.929405005 -0500
-@@ -57,7 +57,7 @@ class QueryCacheTest < ActiveRecord::Tes
- # Oracle adapter returns count() as Fixnum or Float
- if current_adapter?(:OracleAdapter)
- assert_kind_of Numeric, Task.connection.select_value("SELECT count(*) AS count_all FROM tasks")
-- elsif current_adapter?(:SQLite3Adapter) && SQLite3::Version::VERSION > '1.2.5' or current_adapter?(:Mysql2Adapter)
-+ elsif current_adapter?(:SQLite3Adapter) && defined?(SQLite3::Version::VERSION) && SQLite3::Version::VERSION > '1.2.5' or current_adapter?(:Mysql2Adapter)
- # Future versions of the sqlite3 adapter will return numeric
- assert_instance_of Fixnum,
- Task.connection.select_value("SELECT count(*) AS count_all FROM tasks")