From 96b472c0ae798da43ca9f4735dfafe35b2f38fda Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Tue, 17 Mar 2020 00:56:49 +0100 Subject: [PATCH] MDEV-18439 Windows builds should have core_file=1 by default It did not work, eventhough the default for Windows was changed to 1 for the corresponding system variable. This be because test_flags was zeroed mysql_init_variables. The patch fixes this glitch. --- sql/mysqld.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/mysqld.cc b/sql/mysqld.cc index 439437d6541..85f7e3a5d32 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -8038,7 +8038,7 @@ static int mysql_init_variables(void) disable_log_notes= 0; mqh_used= 0; cleanup_done= 0; - test_flags= select_errors= dropping_tables= ha_open_options=0; + select_errors= dropping_tables= ha_open_options=0; thread_count= kill_cached_threads= wake_thread= 0; slave_open_temp_tables= 0; cached_thread_count= 0;