From 01965c9b51d8850aa27b23dd098346cf2d29b76f Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 7 Jul 2007 20:07:20 +0200 Subject: [PATCH] mysql_selector: reset mysql_lock to zero after destroying the lock. --- mysql_selector.c | 1 + 1 file changed, 1 insertion(+) 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; } } -- 2.39.5