Permalink
Browse files

removed outdated warning fix

  • Loading branch information...
1 parent b313bcb commit 252d05737e85469789809d6760e2563db76080f8 @aderyabin committed Nov 26, 2012
Showing with 0 additions and 13 deletions.
  1. +0 −2 activerecord/test/cases/helper.rb
  2. +0 −11 activerecord/test/support/mysql.rb
@@ -22,8 +22,6 @@
# Connect to the database
ARTest.connect
-require 'support/mysql'
-
# Quote "type" if it's a reserved word for the current connection.
QUOTED_TYPE = ActiveRecord::Base.connection.quote_column_name('type')
@@ -1,11 +0,0 @@
-if defined?(Mysql)
- class Mysql
- class Error
- # This monkey patch fixes annoy warning with mysql-2.8.1.gem when executing testcases.
- def errno_with_fix_warnings
- silence_warnings { errno_without_fix_warnings }
- end
- alias_method_chain :errno, :fix_warnings
- end
- end
-end

0 comments on commit 252d057

Please sign in to comment.