diff options
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 |