Commit 67e8e926 authored by Michael Widenius's avatar Michael Widenius

Set default progress report time to 5 seconds

(Had accidently been set to 56 seconds in some merge)


sql/sys_vars.cc:
  Set default progress report time to 5 seconds
parent 5785b1a0
...@@ -1029,7 +1029,7 @@ port 3306 ...@@ -1029,7 +1029,7 @@ port 3306
port-open-timeout 0 port-open-timeout 0
preload-buffer-size 32768 preload-buffer-size 32768
profiling-history-size 15 profiling-history-size 15
progress-report-time 56 progress-report-time 5
query-alloc-block-size 8192 query-alloc-block-size 8192
query-cache-limit 1048576 query-cache-limit 1048576
query-cache-min-res-unit 4096 query-cache-min-res-unit 4096
......
SET @start_global_value = @@global.progress_report_time; SET @start_global_value = @@global.progress_report_time;
select @@global.progress_report_time; select @@global.progress_report_time;
@@global.progress_report_time @@global.progress_report_time
56 5
select @@session.progress_report_time; select @@session.progress_report_time;
@@session.progress_report_time @@session.progress_report_time
56 5
show global variables like 'progress_report_time'; show global variables like 'progress_report_time';
Variable_name Value Variable_name Value
progress_report_time 56 progress_report_time 5
show session variables like 'progress_report_time'; show session variables like 'progress_report_time';
Variable_name Value Variable_name Value
progress_report_time 56 progress_report_time 5
select * from information_schema.global_variables where variable_name='progress_report_time'; select * from information_schema.global_variables where variable_name='progress_report_time';
VARIABLE_NAME VARIABLE_VALUE VARIABLE_NAME VARIABLE_VALUE
PROGRESS_REPORT_TIME 56 PROGRESS_REPORT_TIME 5
select * from information_schema.session_variables where variable_name='progress_report_time'; select * from information_schema.session_variables where variable_name='progress_report_time';
VARIABLE_NAME VARIABLE_VALUE VARIABLE_NAME VARIABLE_VALUE
PROGRESS_REPORT_TIME 56 PROGRESS_REPORT_TIME 5
set global progress_report_time=10; set global progress_report_time=10;
select @@global.progress_report_time; select @@global.progress_report_time;
@@global.progress_report_time @@global.progress_report_time
......
...@@ -3833,7 +3833,7 @@ static Sys_var_ulong Sys_progress_report_time( ...@@ -3833,7 +3833,7 @@ static Sys_var_ulong Sys_progress_report_time(
"Seconds between sending progress reports to the client for " "Seconds between sending progress reports to the client for "
"time-consuming statements. Set to 0 to disable progress reporting.", "time-consuming statements. Set to 0 to disable progress reporting.",
SESSION_VAR(progress_report_time), CMD_LINE(REQUIRED_ARG), SESSION_VAR(progress_report_time), CMD_LINE(REQUIRED_ARG),
VALID_RANGE(0, UINT_MAX), DEFAULT(56), BLOCK_SIZE(1)); VALID_RANGE(0, UINT_MAX), DEFAULT(5), BLOCK_SIZE(1));
static Sys_var_mybool Sys_no_thread_alarm( static Sys_var_mybool Sys_no_thread_alarm(
"debug_no_thread_alarm", "debug_no_thread_alarm",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment