mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
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
This commit is contained in:
parent
5785b1a05c
commit
67e8e926e9
3 changed files with 8 additions and 8 deletions
|
@ -1029,7 +1029,7 @@ port 3306
|
|||
port-open-timeout 0
|
||||
preload-buffer-size 32768
|
||||
profiling-history-size 15
|
||||
progress-report-time 56
|
||||
progress-report-time 5
|
||||
query-alloc-block-size 8192
|
||||
query-cache-limit 1048576
|
||||
query-cache-min-res-unit 4096
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
SET @start_global_value = @@global.progress_report_time;
|
||||
select @@global.progress_report_time;
|
||||
@@global.progress_report_time
|
||||
56
|
||||
5
|
||||
select @@session.progress_report_time;
|
||||
@@session.progress_report_time
|
||||
56
|
||||
5
|
||||
show global variables like 'progress_report_time';
|
||||
Variable_name Value
|
||||
progress_report_time 56
|
||||
progress_report_time 5
|
||||
show session variables like 'progress_report_time';
|
||||
Variable_name Value
|
||||
progress_report_time 56
|
||||
progress_report_time 5
|
||||
select * from information_schema.global_variables where variable_name='progress_report_time';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
PROGRESS_REPORT_TIME 56
|
||||
PROGRESS_REPORT_TIME 5
|
||||
select * from information_schema.session_variables where variable_name='progress_report_time';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
PROGRESS_REPORT_TIME 56
|
||||
PROGRESS_REPORT_TIME 5
|
||||
set global progress_report_time=10;
|
||||
select @@global.progress_report_time;
|
||||
@@global.progress_report_time
|
||||
|
|
|
@ -3833,7 +3833,7 @@ static Sys_var_ulong Sys_progress_report_time(
|
|||
"Seconds between sending progress reports to the client for "
|
||||
"time-consuming statements. Set to 0 to disable progress reporting.",
|
||||
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(
|
||||
"debug_no_thread_alarm",
|
||||
|
|
Loading…
Reference in a new issue