diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-23 00:56:13 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-23 00:56:13 +0000 |
commit | f30b7a31bda74715c09759d03064f6f7c7c784b9 (patch) | |
tree | 720af60a1f2ca12c087af1d2d44ec0df98af9ebe /activerecord/test/column_alias_test.rb | |
parent | 4043b5cdb3152f09727b3fb0a5b43679cdea7406 (diff) | |
download | rails-f30b7a31bda74715c09759d03064f6f7c7c784b9.tar.gz rails-f30b7a31bda74715c09759d03064f6f7c7c784b9.tar.bz2 rails-f30b7a31bda74715c09759d03064f6f7c7c784b9.zip |
Fixed the MS SQL adapter to work with the new limit/offset approach and with binary data (still suffering from 7KB limit, though) #901 [delynnb]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@982 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/column_alias_test.rb')
-rw-r--r-- | activerecord/test/column_alias_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/column_alias_test.rb b/activerecord/test/column_alias_test.rb index 1c84e119f3..f84d584eee 100644 --- a/activerecord/test/column_alias_test.rb +++ b/activerecord/test/column_alias_test.rb @@ -11,7 +11,7 @@ class TestColumnAlias < Test::Unit::TestCase assert_equal(records[0].keys[0], "pk") end else - records = topic.connection.select_all("SELECT id AS pk FROM topics LIMIT 1") + records = topic.connection.select_all("SELECT id AS pk FROM topics") assert_equal(records[0].keys[0], "pk") end end |