Merge pull request #4794 from sysown/v2.7-rm_malloc_conf_on_version

Remove print of jemalloc conf prior to cmd options handling
v2.7-fix_aux_threads_ssl_leaks
René Cannaò 1 year ago committed by GitHub
commit a15c360951
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1978,13 +1978,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); }
}
#ifdef DEBUG
{
// This run some ProxyProtocolInfo tests.
@ -1994,7 +1987,6 @@ int main(int argc, const char * argv[]) {
}
#endif // DEBUG
{
MYSQL *my = mysql_init(NULL);
mysql_close(my);
@ -2022,6 +2014,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);

Loading…
Cancel
Save