X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=mysql_selector.c;h=07cbfc65878bfc43ca4bb1fb90c4fa3a216b0536;hp=dedc96cc8ec6961bf118c78586bb3c5be037fb04;hb=01965c9b51d8850aa27b23dd098346cf2d29b76f;hpb=d47bd8415b4ea9b0f75ca028d31babcd00862f81 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; } }