mysqlplus/test/many_requests_test.rb

7 lines
119 B
Ruby
Raw Normal View History

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