blob: d6ff67ccc7d7a5f2ee7b46cab9f61405983cd867 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
SELECT @@global.innodb_undo_logs;
@@global.innodb_undo_logs
128
SELECT @@session.innodb_undo_logs;
ERROR HY000: Variable 'innodb_undo_logs' is a GLOBAL variable
SHOW global variables LIKE 'innodb_undo_logs';
Variable_name Value
innodb_undo_logs 128
SHOW session variables LIKE 'innodb_undo_logs';
Variable_name Value
innodb_undo_logs 128
SELECT * FROM information_schema.global_variables
WHERE variable_name='innodb_undo_logs';
VARIABLE_NAME VARIABLE_VALUE
INNODB_UNDO_LOGS 128
SELECT * FROM information_schema.session_variables
WHERE variable_name='innodb_undo_logs';
VARIABLE_NAME VARIABLE_VALUE
INNODB_UNDO_LOGS 128
SET global innodb_undo_logs=100;
Warnings:
Warning 138 The parameter innodb_undo_logs is deprecated and has no effect.
SELECT @@global.innodb_undo_logs;
@@global.innodb_undo_logs
128
SET session innodb_undo_logs=1;
ERROR HY000: Variable 'innodb_undo_logs' is a GLOBAL variable and should be set with SET GLOBAL
SET global innodb_undo_logs=1.1;
ERROR 42000: Incorrect argument type to variable 'innodb_undo_logs'
SET global innodb_undo_logs=1e1;
ERROR 42000: Incorrect argument type to variable 'innodb_undo_logs'
SET global innodb_undo_logs="foo";
ERROR 42000: Incorrect argument type to variable 'innodb_undo_logs'
SET global innodb_undo_logs=-7;
Warnings:
Warning 1292 Truncated incorrect innodb_undo_logs value: '-7'
Warning 138 The parameter innodb_undo_logs is deprecated and has no effect.
SELECT @@global.innodb_undo_logs;
@@global.innodb_undo_logs
128
SELECT * FROM information_schema.global_variables
WHERE variable_name='innodb_undo_logs';
VARIABLE_NAME VARIABLE_VALUE
INNODB_UNDO_LOGS 128
|