diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-10-15 03:32:00 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-10-15 03:32:00 +0000 |
commit | 6cc7095320e8e6525f83a4740d58fc45d749ca6b (patch) | |
tree | 73096c6cbc6d3b53de6ba16467d6d2f7e13f3f21 /activerecord | |
parent | 5d3e72486b94f8fcc14a01fdf397d3f865759357 (diff) | |
download | rails-6cc7095320e8e6525f83a4740d58fc45d749ca6b.tar.gz rails-6cc7095320e8e6525f83a4740d58fc45d749ca6b.tar.bz2 rails-6cc7095320e8e6525f83a4740d58fc45d749ca6b.zip |
Update IGNORED_SQL for SQL Server. Closes #9638 [lawrence]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7895 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rwxr-xr-x | activerecord/test/abstract_unit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/abstract_unit.rb b/activerecord/test/abstract_unit.rb index d0924f3787..9d8adf2509 100755 --- a/activerecord/test/abstract_unit.rb +++ b/activerecord/test/abstract_unit.rb @@ -62,7 +62,7 @@ end ActiveRecord::Base.connection.class.class_eval do unless defined? IGNORED_SQL - IGNORED_SQL = [/^PRAGMA/, /^SELECT currval/, /^SELECT CAST/, /^SELECT @@IDENTITY/] + IGNORED_SQL = [/^PRAGMA/, /^SELECT currval/, /^SELECT CAST/, /^SELECT @@IDENTITY/, /^SELECT @@ROWCOUNT/] def execute_with_counting(sql, name = nil, &block) $query_count ||= 0 |