summaryrefslogtreecommitdiff
path: root/server-tools
diff options
context:
space:
mode:
authorunknown <kostja@oak.local>2003-08-19 20:00:37 +0400
committerunknown <kostja@oak.local>2003-08-19 20:00:37 +0400
commit79358576d512d7a27b7f1c592e06005b63958a71 (patch)
tree5ff1ad2b7bda90bfa62dcf000e0d4d93ec08b6fb /server-tools
parentfcb83451994b2230b65da82bf22ba10b6c4f5129 (diff)
downloadmariadb-git-79358576d512d7a27b7f1c592e06005b63958a71.tar.gz
debug checks removed
Diffstat (limited to 'server-tools')
-rw-r--r--server-tools/instance-manager/manager.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/server-tools/instance-manager/manager.cc b/server-tools/instance-manager/manager.cc
index c2aac0bacbe..06e181d52d5 100644
--- a/server-tools/instance-manager/manager.cc
+++ b/server-tools/instance-manager/manager.cc
@@ -45,11 +45,8 @@ void manager(const char *socket_file_name)
pthread_t listener_thd_id;
pthread_attr_t listener_thd_attr;
- if (pthread_attr_init(&listener_thd_attr))
- die("manager(): pthread_attr_init(listener) failed");
- if (pthread_attr_setdetachstate(&listener_thd_attr,
- PTHREAD_CREATE_DETACHED))
- die("manager(): pthread_attr_setdetachstate(listener) failed");
+ pthread_attr_init(&listener_thd_attr);
+ pthread_attr_setdetachstate(&listener_thd_attr, PTHREAD_CREATE_DETACHED);
if (pthread_create(&listener_thd_id, &listener_thd_attr, listener,
&listener_args))
die("manager(): pthread_create(listener) failed");