Skip to content

Commit

Permalink
Remove print of jemalloc conf prior to cmd options handling
Browse files Browse the repository at this point in the history
  • Loading branch information
JavierJF committed Jan 17, 2025
1 parent bd7bd35 commit 67c3520
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 67c3520

Please sign in to comment.