From 67c35201f03446db27a64d97097eb43f3ee245b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jaramago=20Fern=C3=A1ndez?= Date: Fri, 17 Jan 2025 18:26:31 +0100 Subject: [PATCH] Remove print of jemalloc conf prior to cmd options handling --- src/main.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index d98743a604..7bc8fa9cd0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1961,12 +1961,6 @@ int print_jemalloc_conf() { #endif 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); } - } - { MYSQL *my = mysql_init(NULL); mysql_close(my); @@ -1994,6 +1988,12 @@ int main(int argc, const char * argv[]) { #endif } + // Output current jemalloc conf; no action taken when disabled + { + int rc = print_jemalloc_conf(); + if (rc) { exit(EXIT_FAILURE); } + } + struct rlimit nlimit; { int rc = getrlimit(RLIMIT_NOFILE, &nlimit);