Remove print of jemalloc conf prior to cmd options handling

pull/4807/head
Javier Jaramago Fernández 1 year ago
parent 643b62ddfb
commit 8fa90f8b9f

@ -2293,11 +2293,6 @@ int print_jemalloc_conf() {
#endif #endif
int main(int argc, const char * argv[]) { int main(int argc, const char * argv[]) {
// Output current jemalloc conf; no action taken when disabled
{
int rc = print_jemalloc_conf();
if (rc) { exit(EXIT_FAILURE); }
}
if (check_openssl_version() == false) { if (check_openssl_version() == false) {
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
@ -2312,7 +2307,6 @@ int main(int argc, const char * argv[]) {
} }
#endif // DEBUG #endif // DEBUG
{ {
MYSQL *my = mysql_init(NULL); MYSQL *my = mysql_init(NULL);
mysql_close(my); mysql_close(my);
@ -2340,6 +2334,12 @@ int main(int argc, const char * argv[]) {
#endif #endif
} }
// Output current jemalloc conf; no action taken when disabled
{
int rc = print_jemalloc_conf();
if (rc) { exit(EXIT_FAILURE); }
}
struct rlimit nlimit; struct rlimit nlimit;
{ {
int rc = getrlimit(RLIMIT_NOFILE, &nlimit); int rc = getrlimit(RLIMIT_NOFILE, &nlimit);

Loading…
Cancel
Save