~ubuntu-branches/ubuntu/trusty/mysql-5.6/trusty

« back to all changes in this revision

Viewing changes to mysql-test/suite/sys_vars/r/sync_frm_basic.result

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-02-12 11:54:27 UTC
  • Revision ID: package-import@ubuntu.com-20140212115427-oq6tfsqxl1wuwehi
Tags: upstream-5.6.15
ImportĀ upstreamĀ versionĀ 5.6.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SET @start_value = @@global.sync_frm;
 
2
SELECT @start_value;
 
3
@start_value
 
4
1
 
5
'#--------------------FN_DYNVARS_169_01------------------------#'
 
6
SET @@global.sync_frm = FALSE;
 
7
SET @@global.sync_frm = DEFAULT;
 
8
SELECT @@global.sync_frm;
 
9
@@global.sync_frm
 
10
1
 
11
'#---------------------FN_DYNVARS_169_02-------------------------#'
 
12
SET @@global.sync_frm = DEFAULT;
 
13
SELECT @@global.sync_frm = TRUE;
 
14
@@global.sync_frm = TRUE
 
15
1
 
16
'#--------------------FN_DYNVARS_169_03------------------------#'
 
17
SET @@global.sync_frm = ON;
 
18
SELECT @@global.sync_frm;
 
19
@@global.sync_frm
 
20
1
 
21
SET @@global.sync_frm = OFF;
 
22
SELECT @@global.sync_frm;
 
23
@@global.sync_frm
 
24
0
 
25
SET @@global.sync_frm = 0;
 
26
SELECT @@global.sync_frm;
 
27
@@global.sync_frm
 
28
0
 
29
SET @@global.sync_frm = 1;
 
30
SELECT @@global.sync_frm;
 
31
@@global.sync_frm
 
32
1
 
33
SET @@global.sync_frm = TRUE;
 
34
SELECT @@global.sync_frm;
 
35
@@global.sync_frm
 
36
1
 
37
SET @@global.sync_frm = FALSE;
 
38
SELECT @@global.sync_frm;
 
39
@@global.sync_frm
 
40
0
 
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
 
76
1
 
77
'#---------------------FN_DYNVARS_169_07----------------------#'
 
78
SET @@global.sync_frm = 1;
 
79
SELECT @@sync_frm = @@global.sync_frm;
 
80
@@sync_frm = @@global.sync_frm
 
81
1
 
82
'#---------------------FN_DYNVARS_169_08----------------------#'
 
83
SET sync_frm = 1;
 
84
ERROR HY000: Variable 'sync_frm' is a GLOBAL variable and should be set with SET GLOBAL
 
85
SELECT @@sync_frm;
 
86
@@sync_frm
 
87
1
 
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;
 
96
@@global.sync_frm
 
97
1