don't raise exception on close, for a closed connection
This commit is contained in:
parent
3c262e7328
commit
9ab1c90d2b
|
@ -141,7 +141,6 @@ static VALUE rb_mysql_client_close(VALUE self) {
|
|||
|
||||
Data_Get_Struct(self, MYSQL, client);
|
||||
|
||||
REQUIRE_OPEN_DB(client);
|
||||
rb_thread_blocking_region(nogvl_close, client, RUBY_UBF_IO, 0);
|
||||
|
||||
return Qnil;
|
||||
|
|
Loading…
Reference in New Issue