2008-09-05 17:23:47 +00:00
|
|
|
require File.dirname(__FILE__) + '/test_helper'
|
2008-08-26 23:05:20 +00:00
|
|
|
|
2008-09-05 23:54:48 +00:00
|
|
|
ThreadedMysqlTest.new( 10 ) do |test|
|
2008-09-06 16:21:36 +00:00
|
|
|
test.setup{ Mysql.real_connect('localhost','root') }
|
2008-09-08 00:48:47 +00:00
|
|
|
test.log_blocking_status = true
|
2008-09-06 16:17:06 +00:00
|
|
|
test.run!
|
|
|
|
end
|
|
|
|
|
|
|
|
ThreadedMysqlTest.new( 10 ) do |test|
|
2008-09-06 16:21:36 +00:00
|
|
|
test.setup{ Mysql.real_connect('localhost','root') }
|
2008-09-06 16:17:06 +00:00
|
|
|
test.c_async_query = true
|
2008-09-05 23:54:48 +00:00
|
|
|
test.run!
|
|
|
|
end
|