mysqlplus/test/test_many_requests.rb

7 lines
119 B
Ruby

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