From f44f9c6d13fde2f4773a319663f40854e96a90ac Mon Sep 17 00:00:00 2001 From: Roger Pack Date: Mon, 12 Jan 2009 18:42:46 +0000 Subject: [PATCH] update some tests --- TODO_LIST | 2 ++ test/test_parsing_while_response_is_being_read.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/TODO_LIST b/TODO_LIST index 9902f3e..4b4d4aa 100644 --- a/TODO_LIST +++ b/TODO_LIST @@ -8,4 +8,6 @@ Merge in lourens' branch -- I like the double check for not using send_query twi look into http://coderrr.wordpress.com/2009/01/11/ruby-and-mysqlplus-select-deadlock/ +Some of the test/* anticipate a certain database existing--todo create it first, then drop it [?] + critical todo list: diff --git a/test/test_parsing_while_response_is_being_read.rb b/test/test_parsing_while_response_is_being_read.rb index 3f6883f..7f4d237 100644 --- a/test/test_parsing_while_response_is_being_read.rb +++ b/test/test_parsing_while_response_is_being_read.rb @@ -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