From 307b92b966efc9e3b4cf5f666c03c815190feb20 Mon Sep 17 00:00:00 2001 From: Brian Lopez Date: Mon, 27 Sep 2010 11:17:47 -0700 Subject: [PATCH] whoops, lost this line in a previous patch --- ext/mysql2/client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/mysql2/client.c b/ext/mysql2/client.c index 395728b..6119380 100644 --- a/ext/mysql2/client.c +++ b/ext/mysql2/client.c @@ -140,6 +140,7 @@ static VALUE nogvl_close(void * ptr) { mysql_client_wrapper *wrapper = ptr; if (!wrapper->closed) { mysql_close(wrapper->client); + client->net.fd = -1; wrapper->closed = 1; } return Qnil;