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

« back to all changes in this revision

Viewing changes to mysql-test/suite/sys_vars/r/rpl_recovery_rank_basic_32.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_global_value = @@global.rpl_recovery_rank;
 
2
SELECT @start_global_value;
 
3
@start_global_value
 
4
0
 
5
'#--------------------FN_DYNVARS_142_01-------------------------#'
 
6
SET @@global.rpl_recovery_rank = 500000;
 
7
Warnings:
 
8
Warning 1287    '@@rpl_recovery_rank' is deprecated and will be removed in a future release.
 
9
SET @@global.rpl_recovery_rank = DEFAULT;
 
10
Warnings:
 
11
Warning 1287    '@@rpl_recovery_rank' is deprecated and will be removed in a future release.
 
12
SELECT @@global.rpl_recovery_rank;
 
13
@@global.rpl_recovery_rank
 
14
0
 
15
'#--------------------FN_DYNVARS_142_02-------------------------#'
 
16
SET @@global.rpl_recovery_rank = 0;
 
17
Warnings:
 
18
Warning 1287    '@@rpl_recovery_rank' is deprecated and will be removed in a future release.
 
19
SELECT @@global.rpl_recovery_rank;
 
20
@@global.rpl_recovery_rank
 
21
0
 
22
SET @@global.rpl_recovery_rank = 1024;
 
23
Warnings:
 
24
Warning 1287    '@@rpl_recovery_rank' is deprecated and will be removed in a future release.
 
25
SELECT @@global.rpl_recovery_rank;
 
26
@@global.rpl_recovery_rank
 
27
1024
 
28
SET @@global.rpl_recovery_rank = 123456789;
 
29
Warnings:
 
30
Warning 1287    '@@rpl_recovery_rank' is deprecated and will be removed in a future release.
 
31
SELECT @@global.rpl_recovery_rank;
 
32
@@global.rpl_recovery_rank
 
33
123456789
 
34
SET @@global.rpl_recovery_rank = 2147483648*2;
 
35
Warnings:
 
36
Warning 1287    '@@rpl_recovery_rank' is deprecated and will be removed in a future release.
 
37
Warning 1292    Truncated incorrect rpl_recovery_rank value: '4294967296'
 
38
SELECT @@global.rpl_recovery_rank;
 
39
@@global.rpl_recovery_rank
 
40
4294967295
 
41
SET @@global.rpl_recovery_rank = 2147483648*1024;
 
42
Warnings:
 
43
Warning 1287    '@@rpl_recovery_rank' is deprecated and will be removed in a future release.
 
44
Warning 1292    Truncated incorrect rpl_recovery_rank value: '2199023255552'
 
45
SELECT @@global.rpl_recovery_rank;
 
46
@@global.rpl_recovery_rank
 
47
4294967295
 
48
SELECT @@global.rpl_recovery_rank;
 
49
@@global.rpl_recovery_rank
 
50
4294967295
 
51
SET @@global.rpl_recovery_rank = 2147483648*2147483648;
 
52
Warnings:
 
53
Warning 1287    '@@rpl_recovery_rank' is deprecated and will be removed in a future release.
 
54
Warning 1292    Truncated incorrect rpl_recovery_rank value: '4611686018427387904'
 
55
SELECT @@global.rpl_recovery_rank;
 
56
@@global.rpl_recovery_rank
 
57
4294967295
 
58
'#--------------------FN_DYNVARS_142_03-------------------------#'
 
59
SET @@rpl_recovery_rank = 2;
 
60
ERROR HY000: Variable 'rpl_recovery_rank' is a GLOBAL variable and should be set with SET GLOBAL
 
61
SET @@session.rpl_recovery_rank = 3;
 
62
ERROR HY000: Variable 'rpl_recovery_rank' is a GLOBAL variable and should be set with SET GLOBAL
 
63
SET @@local.rpl_recovery_rank = 4;
 
64
ERROR HY000: Variable 'rpl_recovery_rank' is a GLOBAL variable and should be set with SET GLOBAL
 
65
'#------------------FN_DYNVARS_142_04-----------------------#'
 
66
SET @@global.rpl_recovery_rank = -1;
 
67
Warnings:
 
68
Warning 1287    '@@rpl_recovery_rank' is deprecated and will be removed in a future release.
 
69
Warning 1292    Truncated incorrect rpl_recovery_rank value: '-1'
 
70
SELECT @@global.rpl_recovery_rank;
 
71
@@global.rpl_recovery_rank
 
72
0
 
73
SET @@global.rpl_recovery_rank = -2147483648;
 
74
Warnings:
 
75
Warning 1287    '@@rpl_recovery_rank' is deprecated and will be removed in a future release.
 
76
Warning 1292    Truncated incorrect rpl_recovery_rank value: '-2147483648'
 
77
SELECT @@global.rpl_recovery_rank;
 
78
@@global.rpl_recovery_rank
 
79
0
 
80
SET @@global.rpl_recovery_rank = -2147483649;
 
81
Warnings:
 
82
Warning 1287    '@@rpl_recovery_rank' is deprecated and will be removed in a future release.
 
83
Warning 1292    Truncated incorrect rpl_recovery_rank value: '-2147483649'
 
84
SELECT @@global.rpl_recovery_rank;
 
85
@@global.rpl_recovery_rank
 
86
0
 
87
SET @@global.rpl_recovery_rank = 65530.34;
 
88
ERROR 42000: Incorrect argument type to variable 'rpl_recovery_rank'
 
89
SET @@global.rpl_recovery_rank = 2147483649.56;
 
90
ERROR 42000: Incorrect argument type to variable 'rpl_recovery_rank'
 
91
SET @@global.rpl_recovery_rank = 1G;
 
92
ERROR 42000: Incorrect argument type to variable 'rpl_recovery_rank'
 
93
'#------------------FN_DYNVARS_142_05-----------------------#'
 
94
SET @@global.rpl_recovery_rank = 3000;
 
95
Warnings:
 
96
Warning 1287    '@@rpl_recovery_rank' is deprecated and will be removed in a future release.
 
97
SELECT @@global.rpl_recovery_rank = VARIABLE_VALUE 
 
98
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
 
99
WHERE VARIABLE_NAME='rpl_recovery_rank';
 
100
@@global.rpl_recovery_rank = VARIABLE_VALUE
 
101
1
 
102
'#------------------FN_DYNVARS_142_06-----------------------#'
 
103
SELECT count(VARIABLE_VALUE) 
 
104
FROM INFORMATION_SCHEMA.SESSION_VARIABLES 
 
105
WHERE VARIABLE_NAME='rpl_recovery_rank';
 
106
count(VARIABLE_VALUE)
 
107
1
 
108
'#------------------FN_DYNVARS_142_07-----------------------#'
 
109
SET @@global.rpl_recovery_rank = TRUE;
 
110
Warnings:
 
111
Warning 1287    '@@rpl_recovery_rank' is deprecated and will be removed in a future release.
 
112
SELECT @@global.rpl_recovery_rank;
 
113
@@global.rpl_recovery_rank
 
114
1
 
115
SET @@global.rpl_recovery_rank = FALSE;
 
116
Warnings:
 
117
Warning 1287    '@@rpl_recovery_rank' is deprecated and will be removed in a future release.
 
118
SELECT @@global.rpl_recovery_rank;
 
119
@@global.rpl_recovery_rank
 
120
0
 
121
'#---------------------FN_DYNVARS_001_08----------------------#'
 
122
SET @@global.rpl_recovery_rank = 512;
 
123
Warnings:
 
124
Warning 1287    '@@rpl_recovery_rank' is deprecated and will be removed in a future release.
 
125
SELECT @@rpl_recovery_rank = @@global.rpl_recovery_rank;
 
126
@@rpl_recovery_rank = @@global.rpl_recovery_rank
 
127
1
 
128
'#---------------------FN_DYNVARS_001_09----------------------#'
 
129
SET rpl_recovery_rank = 2048;
 
130
ERROR HY000: Variable 'rpl_recovery_rank' is a GLOBAL variable and should be set with SET GLOBAL
 
131
SELECT rpl_recovery_rank;
 
132
ERROR 42S22: Unknown column 'rpl_recovery_rank' in 'field list'
 
133
SELECT @@rpl_recovery_rank;
 
134
@@rpl_recovery_rank
 
135
512
 
136
SET global rpl_recovery_rank = 64;
 
137
Warnings:
 
138
Warning 1287    '@@rpl_recovery_rank' is deprecated and will be removed in a future release.
 
139
SET @@global.rpl_recovery_rank = @start_global_value;
 
140
Warnings:
 
141
Warning 1287    '@@rpl_recovery_rank' is deprecated and will be removed in a future release.
 
142
SELECT @@global.rpl_recovery_rank;
 
143
@@global.rpl_recovery_rank
 
144
0