X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=mysql_selector.c;h=07cbfc65878bfc43ca4bb1fb90c4fa3a216b0536;hp=dedc96cc8ec6961bf118c78586bb3c5be037fb04;hb=245b44acd4f1c16395844683f6aff10699967dc0;hpb=843950e7a85730b796bb6238b6e91111f7209c25 diff --git a/mysql_selector.c b/mysql_selector.c index dedc96cc..07cbfc65 100644 --- a/mysql_selector.c +++ b/mysql_selector.c @@ -2270,6 +2270,7 @@ static void shutdown_connection(void) ret = mutex_destroy(mysql_lock); if (ret < 0) PARA_ERROR_LOG("%s\n", PARA_STRERROR(-ret)); + mysql_lock = 0; } }