Make sure #470 shouldnt be happening

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@437 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 d5986359
......@@ -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
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册