diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-17 01:01:21 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-17 01:01:21 +0000 |
commit | dd420ef303c874230fc811964592f296a8cbd846 (patch) | |
tree | 4ce216fdef3d0c54228f0574b467b9f5faf178c1 /activerecord/lib/active_record/vendor/mysql411.rb | |
parent | d598635988e36b3353b38ba079836077557b8387 (diff) | |
download | rails-dd420ef303c874230fc811964592f296a8cbd846.tar.gz rails-dd420ef303c874230fc811964592f296a8cbd846.tar.bz2 rails-dd420ef303c874230fc811964592f296a8cbd846.zip |
Make sure #470 shouldnt be happening
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@437 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record/vendor/mysql411.rb')
-rw-r--r-- | activerecord/lib/active_record/vendor/mysql411.rb | 13 |
1 files changed, 0 insertions, 13 deletions
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( "<host>", "<user>", "<password>", "activerecord_unittest" ) - puts io.list_dbs - io.close end
\ No newline at end of file |