don't raise exception on close, for a closed connection

This commit is contained in:
Brian Lopez 2010-07-20 09:12:47 -07:00
parent 3c262e7328
commit 9ab1c90d2b
1 changed files with 0 additions and 1 deletions

View File

@ -141,7 +141,6 @@ static VALUE rb_mysql_client_close(VALUE self) {
Data_Get_Struct(self, MYSQL, client); Data_Get_Struct(self, MYSQL, client);
REQUIRE_OPEN_DB(client);
rb_thread_blocking_region(nogvl_close, client, RUBY_UBF_IO, 0); rb_thread_blocking_region(nogvl_close, client, RUBY_UBF_IO, 0);
return Qnil; return Qnil;