Permalink
Browse files

Make sure #470 shouldnt be happening

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@437 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent d598635 commit dd420ef303c874230fc811964592f296a8cbd846 @dhh dhh committed Jan 17, 2005
Showing with 0 additions and 13 deletions.
  1. +0 −13 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 @@
#
class Mysql
-
CLIENT_PROTOCOL_41 = 512
CLIENT_SECURE_CONNECTION = 32768
@@ -308,11 +302,4 @@ def read_query_result_41
end
self
end
-
-end
-
-if __FILE__ == $0
- io = Mysql::real_connect( "<host>", "<user>", "<password>", "activerecord_unittest" )
- puts io.list_dbs
- io.close
end

0 comments on commit dd420ef

Please sign in to comment.