From dd420ef303c874230fc811964592f296a8cbd846 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 17 Jan 2005 01:01:21 +0000 Subject: Make sure #470 shouldnt be happening git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@437 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/lib/active_record/vendor/mysql411.rb | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'activerecord') diff --git a/activerecord/lib/active_record/vendor/mysql411.rb b/activerecord/lib/active_record/vendor/mysql411.rb index 15f8f03cec..32d4084674 100644 --- a/activerecord/lib/active_record/vendor/mysql411.rb +++ b/activerecord/lib/active_record/vendor/mysql411.rb @@ -22,11 +22,6 @@ # full & correct MySQL 4.1 support has been achieved. # -if __FILE__ == $0 - $:.unshift( File.join( File.dirname( __FILE__ ), "..", "vendor" ) ) - require 'mysql' -end - require 'digest/sha1' # @@ -37,7 +32,6 @@ require 'digest/sha1' # class Mysql - CLIENT_PROTOCOL_41 = 512 CLIENT_SECURE_CONNECTION = 32768 @@ -308,11 +302,4 @@ class Mysql end self end - -end - -if __FILE__ == $0 - io = Mysql::real_connect( "", "", "", "activerecord_unittest" ) - puts io.list_dbs - io.close end \ No newline at end of file -- cgit v1.2.3