# File lib/dbd_mysql/Mysql.rb, line 104 def __shutdown(host, user, password, port=nil, sock=nil, flag=nil) handle = ::Mysql.connect(host, user, password, nil, port, sock, flag) begin handle.shutdown ensure handle.close if handle end end