mysqlplus/lib/mysqlplus.rb

10 lines
138 B
Ruby
Raw Normal View History

require 'mysql'
class Mysql
def async_query(sql)
send_query(sql)
select([IO.new(socket)],nil,nil,nil)
get_result
end
end