SET @start_global_value = @@global.progress_report_time;
select @@global.progress_report_time;
@@global.progress_report_time
5
select @@session.progress_report_time;
@@session.progress_report_time
5
show global variables like 'progress_report_time';
Variable_name	Value
progress_report_time	5
show session variables like 'progress_report_time';
Variable_name	Value
progress_report_time	5
select * from information_schema.global_variables where variable_name='progress_report_time';
VARIABLE_NAME	VARIABLE_VALUE
PROGRESS_REPORT_TIME	5
select * from information_schema.session_variables where variable_name='progress_report_time';
VARIABLE_NAME	VARIABLE_VALUE
PROGRESS_REPORT_TIME	5
set global progress_report_time=10;
select @@global.progress_report_time;
@@global.progress_report_time
10
set session progress_report_time=10;
select @@session.progress_report_time;
@@session.progress_report_time
10
set global progress_report_time=1.1;
ERROR 42000: Incorrect argument type to variable 'progress_report_time'
set session progress_report_time=1e1;
ERROR 42000: Incorrect argument type to variable 'progress_report_time'
set global progress_report_time="foo";
ERROR 42000: Incorrect argument type to variable 'progress_report_time'
set global progress_report_time=0;
select @@global.progress_report_time;
@@global.progress_report_time
0
set session progress_report_time=cast(-1 as unsigned int);
Warnings:
Note	1105	Cast to unsigned converted negative integer to it's positive complement
Warning	1292	Truncated incorrect progress_report_time value: '18446744073709551615'
select @@session.progress_report_time;
@@session.progress_report_time
4294967295
SET @@global.progress_report_time = @start_global_value;
