1
SET @start_value = @@global.sync_frm;
5
'#--------------------FN_DYNVARS_169_01------------------------#'
6
SET @@global.sync_frm = FALSE;
7
SET @@global.sync_frm = DEFAULT;
8
SELECT @@global.sync_frm;
11
'#---------------------FN_DYNVARS_169_02-------------------------#'
12
SET @@global.sync_frm = DEFAULT;
13
SELECT @@global.sync_frm = TRUE;
14
@@global.sync_frm = TRUE
16
'#--------------------FN_DYNVARS_169_03------------------------#'
17
SET @@global.sync_frm = ON;
18
SELECT @@global.sync_frm;
21
SET @@global.sync_frm = OFF;
22
SELECT @@global.sync_frm;
25
SET @@global.sync_frm = 0;
26
SELECT @@global.sync_frm;
29
SET @@global.sync_frm = 1;
30
SELECT @@global.sync_frm;
33
SET @@global.sync_frm = TRUE;
34
SELECT @@global.sync_frm;
37
SET @@global.sync_frm = FALSE;
38
SELECT @@global.sync_frm;
41
'#--------------------FN_DYNVARS_169_04-------------------------#'
42
SET @@global.sync_frm = 2;
43
ERROR 42000: Variable 'sync_frm' can't be set to the value of '2'
44
SET @@global.sync_frm = -1;
45
ERROR 42000: Variable 'sync_frm' can't be set to the value of '-1'
46
SET @@global.sync_frm = TRUEF;
47
ERROR 42000: Variable 'sync_frm' can't be set to the value of 'TRUEF'
48
SET @@global.sync_frm = TRUE_F;
49
ERROR 42000: Variable 'sync_frm' can't be set to the value of 'TRUE_F'
50
SET @@global.sync_frm = FALSE0;
51
ERROR 42000: Variable 'sync_frm' can't be set to the value of 'FALSE0'
52
SET @@global.sync_frm = OON;
53
ERROR 42000: Variable 'sync_frm' can't be set to the value of 'OON'
54
SET @@global.sync_frm = ONN;
55
ERROR 42000: Variable 'sync_frm' can't be set to the value of 'ONN'
56
SET @@global.sync_frm = OOFF;
57
ERROR 42000: Variable 'sync_frm' can't be set to the value of 'OOFF'
58
SET @@global.sync_frm = 0FF;
59
ERROR 42000: Variable 'sync_frm' can't be set to the value of '0FF'
60
SET @@global.sync_frm = ' ';
61
ERROR 42000: Variable 'sync_frm' can't be set to the value of ' '
62
SET @@global.sync_frm = " ";
63
ERROR 42000: Variable 'sync_frm' can't be set to the value of ' '
64
SET @@global.sync_frm = '';
65
ERROR 42000: Variable 'sync_frm' can't be set to the value of ''
66
'#-------------------FN_DYNVARS_169_05----------------------------#'
67
SET @@session.sync_frm = 1;
68
ERROR HY000: Variable 'sync_frm' is a GLOBAL variable and should be set with SET GLOBAL
69
SELECT @@session.sync_frm;
70
ERROR HY000: Variable 'sync_frm' is a GLOBAL variable
71
'#----------------------FN_DYNVARS_169_06------------------------#'
72
SELECT IF(@@global.sync_frm, "ON", "OFF") = VARIABLE_VALUE
73
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
74
WHERE VARIABLE_NAME='sync_frm';
75
IF(@@global.sync_frm, "ON", "OFF") = VARIABLE_VALUE
77
'#---------------------FN_DYNVARS_169_07----------------------#'
78
SET @@global.sync_frm = 1;
79
SELECT @@sync_frm = @@global.sync_frm;
80
@@sync_frm = @@global.sync_frm
82
'#---------------------FN_DYNVARS_169_08----------------------#'
84
ERROR HY000: Variable 'sync_frm' is a GLOBAL variable and should be set with SET GLOBAL
88
SET global.sync_frm = 1;
89
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sync_frm = 1' at line 1
90
SELECT global.sync_frm;
91
ERROR 42S02: Unknown table 'global' in field list
92
SELECT sync_frm = @@session.sync_frm;
93
ERROR 42S22: Unknown column 'sync_frm' in 'field list'
94
SET @@global.sync_frm = @start_value;
95
SELECT @@global.sync_frm;