aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/support/mysql.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/support/mysql.rb')
-rw-r--r--activerecord/test/support/mysql.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/activerecord/test/support/mysql.rb b/activerecord/test/support/mysql.rb
deleted file mode 100644
index 7a66415e64..0000000000
--- a/activerecord/test/support/mysql.rb
+++ /dev/null
@@ -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