mysqlplus/test/test_many_requests.rb

8 lines
138 B
Ruby
Raw Normal View History

require 'rubygems'
require 'mysqlplus'
a = Mysql.real_connect('localhost','root')
100.times { a.query("select sleep(0)") }
print "pass"