SELECT @@GLOBAL.innodb_undo_logs;
@@GLOBAL.innodb_undo_logs
128
128 Expected
SET @@GLOBAL.innodb_undo_logs=128;
Warnings:
Warning	131	The parameter innodb_undo_logs is deprecated and may be removed in future releases. Please use innodb_rollback_segments instead. See http://dev.mysql.com/doc/refman/5.7/en/innodb-undo-logs.html
SELECT COUNT(@@GLOBAL.innodb_undo_logs);
COUNT(@@GLOBAL.innodb_undo_logs)
1
1 Expected
SELECT VARIABLE_VALUE
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='innodb_undo_logs';
VARIABLE_VALUE
128
128 Expected
SELECT @@innodb_undo_logs = @@GLOBAL.innodb_undo_logs;
@@innodb_undo_logs = @@GLOBAL.innodb_undo_logs
1
1 Expected
SELECT COUNT(@@innodb_undo_logs);
COUNT(@@innodb_undo_logs)
1
1 Expected
SELECT COUNT(@@local.innodb_undo_logs);
ERROR HY000: Variable 'innodb_undo_logs' is a GLOBAL variable
Expected error 'Variable is a GLOBAL variable'
SELECT COUNT(@@SESSION.innodb_undo_logs);
ERROR HY000: Variable 'innodb_undo_logs' is a GLOBAL variable
Expected error 'Variable is a GLOBAL variable'
SELECT innodb_undo_logs = @@SESSION.innodb_undo_logs;
ERROR 42S22: Unknown column 'innodb_undo_logs' in 'field list'
Begin bug 13604034
select @@innodb_undo_logs;
@@innodb_undo_logs
128
128 Expected
set global innodb_undo_logs = 129;
Warnings:
Warning	1292	Truncated incorrect innodb_undo_logs value: '129'
Warning	131	The parameter innodb_undo_logs is deprecated and may be removed in future releases. Please use innodb_rollback_segments instead. See http://dev.mysql.com/doc/refman/5.7/en/innodb-undo-logs.html
select @@innodb_undo_logs;
@@innodb_undo_logs
128
128 Expected
set global innodb_undo_logs = 0;
Warnings:
Warning	1292	Truncated incorrect innodb_undo_logs value: '0'
Warning	131	The parameter innodb_undo_logs is deprecated and may be removed in future releases. Please use innodb_rollback_segments instead. See http://dev.mysql.com/doc/refman/5.7/en/innodb-undo-logs.html
select @@innodb_undo_logs;
@@innodb_undo_logs
1
1 Expected
set global innodb_undo_logs = -1;
Warnings:
Warning	1292	Truncated incorrect innodb_undo_logs value: '-1'
Warning	131	The parameter innodb_undo_logs is deprecated and may be removed in future releases. Please use innodb_rollback_segments instead. See http://dev.mysql.com/doc/refman/5.7/en/innodb-undo-logs.html
select @@innodb_undo_logs;
@@innodb_undo_logs
1
1 Expected
set global innodb_undo_logs = 50;
Warnings:
Warning	131	The parameter innodb_undo_logs is deprecated and may be removed in future releases. Please use innodb_rollback_segments instead. See http://dev.mysql.com/doc/refman/5.7/en/innodb-undo-logs.html
select @@innodb_undo_logs;
@@innodb_undo_logs
50
50 Expected
set global innodb_undo_logs = default;
Warnings:
Warning	131	The parameter innodb_undo_logs is deprecated and may be removed in future releases. Please use innodb_rollback_segments instead. See http://dev.mysql.com/doc/refman/5.7/en/innodb-undo-logs.html
select @@innodb_undo_logs;
@@innodb_undo_logs
128
128 Expected
End bug 13604034
# restart: --innodb-undo-logs=100
SELECT VARIABLE_VALUE
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='innodb_undo_logs';
VARIABLE_VALUE
100
100 Expected
