remove test output

This commit is contained in:
Roger Pack 2008-12-20 23:07:21 +00:00
parent 9f677c3047
commit d2549f3907
2 changed files with 4 additions and 5 deletions

View File

@ -322,13 +322,12 @@ static VALUE real_connect(int argc, VALUE* argv, VALUE klass) /* actually gets r
obj = Data_Make_Struct(klass, struct mysql, 0, free_mysql, myp);
#if MYSQL_VERSION_ID >= 32200
printf("conn5 -- \n");
mysql_init(&myp->handler); /* we get here */
#ifdef HAVE_TBR
# ifdef HAVE_TBR
if( (int) rb_thread_blocking_region_variable_params(10, &mysql_real_connect, 8, &myp->handler, h, u, p, d, pp, s, f) == NULL)
#else
# else
if(mysql_real_connect(&myp->handler, h, u, p, d, pp, s, f) == NULL)
#endif
# endif
#elif MYSQL_VERSION_ID >= 32115
if (mysql_real_connect(&myp->handler, h, u, p, pp, s, f) == NULL)
#else

View File

@ -5,7 +5,7 @@
# from .82s to .62s
# you can experiment with it by changing the query here to be a long one, and toggling the do_the_use_query_optimization variable
# this also has the interesting property of 'freeing' Ruby to do thread changes mid-query.
require 'rubygems'
require 'mysqlplus'
do_the_use_query_optimization = true