projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d47bd84
)
mysql_selector: reset mysql_lock to zero after destroying the lock.
author
Andre Noll
<maan@systemlinux.org>
Sat, 7 Jul 2007 18:07:20 +0000
(20:07 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Sat, 7 Jul 2007 18:07:20 +0000
(20:07 +0200)
mysql_selector.c
patch
|
blob
|
history
diff --git
a/mysql_selector.c
b/mysql_selector.c
index dedc96cc8ec6961bf118c78586bb3c5be037fb04..07cbfc65878bfc43ca4bb1fb90c4fa3a216b0536 100644
(file)
--- 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;
}
}