~ubuntu-branches/ubuntu/precise/mysql-5.5/precise-201203300109

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2011-11-08 11:31:13 UTC
  • Revision ID: package-import@ubuntu.com-20111108113113-3ulw01fvi4vn8m25
Tags: upstream-5.5.17
ImportĀ upstreamĀ versionĀ 5.5.17

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SET @start_value = @@global.max_binlog_stmt_cache_size;
 
2
SELECT @start_value;
 
3
@start_value
 
4
18446744073709547520
 
5
'#--------------------FN_DYNVARS_072_01------------------------#'
 
6
SET @@global.max_binlog_stmt_cache_size = 5000;
 
7
Warnings:
 
8
Warning 1292    Truncated incorrect max_binlog_stmt_cache_size value: '5000'
 
9
SET @@global.max_binlog_stmt_cache_size = DEFAULT;
 
10
SELECT @@global.max_binlog_stmt_cache_size;
 
11
@@global.max_binlog_stmt_cache_size
 
12
18446744073709547520
 
13
'#---------------------FN_DYNVARS_072_02-------------------------#'
 
14
SET @@global.max_binlog_stmt_cache_size = @start_value;
 
15
SELECT @@global.max_binlog_stmt_cache_size = 4294967295;
 
16
@@global.max_binlog_stmt_cache_size = 4294967295
 
17
0
 
18
'#--------------------FN_DYNVARS_072_03------------------------#'
 
19
SET @@global.max_binlog_stmt_cache_size = 4096;
 
20
SELECT @@global.max_binlog_stmt_cache_size;
 
21
@@global.max_binlog_stmt_cache_size
 
22
4096
 
23
SET @@global.max_binlog_stmt_cache_size = 4294967295;
 
24
Warnings:
 
25
Warning 1292    Truncated incorrect max_binlog_stmt_cache_size value: '4294967295'
 
26
SELECT @@global.max_binlog_stmt_cache_size;
 
27
@@global.max_binlog_stmt_cache_size
 
28
4294963200
 
29
SET @@global.max_binlog_stmt_cache_size = 4294967294;
 
30
Warnings:
 
31
Warning 1292    Truncated incorrect max_binlog_stmt_cache_size value: '4294967294'
 
32
SELECT @@global.max_binlog_stmt_cache_size;
 
33
@@global.max_binlog_stmt_cache_size
 
34
4294963200
 
35
SET @@global.max_binlog_stmt_cache_size = 4097;
 
36
Warnings:
 
37
Warning 1292    Truncated incorrect max_binlog_stmt_cache_size value: '4097'
 
38
SELECT @@global.max_binlog_stmt_cache_size;
 
39
@@global.max_binlog_stmt_cache_size
 
40
4096
 
41
SET @@global.max_binlog_stmt_cache_size = 65535;
 
42
Warnings:
 
43
Warning 1292    Truncated incorrect max_binlog_stmt_cache_size value: '65535'
 
44
SELECT @@global.max_binlog_stmt_cache_size;
 
45
@@global.max_binlog_stmt_cache_size
 
46
61440
 
47
'#--------------------FN_DYNVARS_072_04-------------------------#'
 
48
SET @@global.max_binlog_stmt_cache_size = -1;
 
49
Warnings:
 
50
Warning 1292    Truncated incorrect max_binlog_stmt_cache_size value: '-1'
 
51
SELECT @@global.max_binlog_stmt_cache_size;
 
52
@@global.max_binlog_stmt_cache_size
 
53
4096
 
54
SET @@global.max_binlog_stmt_cache_size = 100000000000;
 
55
Warnings:
 
56
Warning 1292    Truncated incorrect max_binlog_stmt_cache_size value: '100000000000'
 
57
SELECT @@global.max_binlog_stmt_cache_size;
 
58
@@global.max_binlog_stmt_cache_size
 
59
99999997952
 
60
SET @@global.max_binlog_stmt_cache_size = 10000.01;
 
61
ERROR 42000: Incorrect argument type to variable 'max_binlog_stmt_cache_size'
 
62
SELECT @@global.max_binlog_stmt_cache_size;
 
63
@@global.max_binlog_stmt_cache_size
 
64
99999997952
 
65
SET @@global.max_binlog_stmt_cache_size = -1024;
 
66
Warnings:
 
67
Warning 1292    Truncated incorrect max_binlog_stmt_cache_size value: '-1024'
 
68
SELECT @@global.max_binlog_stmt_cache_size;
 
69
@@global.max_binlog_stmt_cache_size
 
70
4096
 
71
SET @@global.max_binlog_stmt_cache_size = 1024;
 
72
Warnings:
 
73
Warning 1292    Truncated incorrect max_binlog_stmt_cache_size value: '1024'
 
74
SELECT @@global.max_binlog_stmt_cache_size;
 
75
@@global.max_binlog_stmt_cache_size
 
76
4096
 
77
SET @@global.max_binlog_stmt_cache_size = 4294967296;
 
78
SELECT @@global.max_binlog_stmt_cache_size;
 
79
@@global.max_binlog_stmt_cache_size
 
80
4294967296
 
81
SET @@global.max_binlog_stmt_cache_size = 4095;
 
82
Warnings:
 
83
Warning 1292    Truncated incorrect max_binlog_stmt_cache_size value: '4095'
 
84
SELECT @@global.max_binlog_stmt_cache_size;
 
85
@@global.max_binlog_stmt_cache_size
 
86
4096
 
87
SET @@global.max_binlog_stmt_cache_size = ON;
 
88
ERROR 42000: Incorrect argument type to variable 'max_binlog_stmt_cache_size'
 
89
SELECT @@global.max_binlog_stmt_cache_size;
 
90
@@global.max_binlog_stmt_cache_size
 
91
4096
 
92
SET @@global.max_binlog_stmt_cache_size = 'test';
 
93
ERROR 42000: Incorrect argument type to variable 'max_binlog_stmt_cache_size'
 
94
SELECT @@global.max_binlog_stmt_cache_size;
 
95
@@global.max_binlog_stmt_cache_size
 
96
4096
 
97
'#-------------------FN_DYNVARS_072_05----------------------------#'
 
98
SET @@session.max_binlog_stmt_cache_size = 4096;
 
99
ERROR HY000: Variable 'max_binlog_stmt_cache_size' is a GLOBAL variable and should be set with SET GLOBAL
 
100
SELECT @@session.max_binlog_stmt_cache_size;
 
101
ERROR HY000: Variable 'max_binlog_stmt_cache_size' is a GLOBAL variable
 
102
'#----------------------FN_DYNVARS_072_06------------------------#'
 
103
SELECT @@global.max_binlog_stmt_cache_size = VARIABLE_VALUE 
 
104
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
 
105
WHERE VARIABLE_NAME='max_binlog_stmt_cache_size';
 
106
@@global.max_binlog_stmt_cache_size = VARIABLE_VALUE
 
107
1
 
108
SELECT @@max_binlog_stmt_cache_size = VARIABLE_VALUE 
 
109
FROM INFORMATION_SCHEMA.SESSION_VARIABLES 
 
110
WHERE VARIABLE_NAME='max_binlog_stmt_cache_size';
 
111
@@max_binlog_stmt_cache_size = VARIABLE_VALUE
 
112
1
 
113
'#---------------------FN_DYNVARS_072_07----------------------#'
 
114
SET @@global.max_binlog_stmt_cache_size = TRUE;
 
115
Warnings:
 
116
Warning 1292    Truncated incorrect max_binlog_stmt_cache_size value: '1'
 
117
SELECT @@global.max_binlog_stmt_cache_size;
 
118
@@global.max_binlog_stmt_cache_size
 
119
4096
 
120
SET @@global.max_binlog_stmt_cache_size = FALSE;
 
121
Warnings:
 
122
Warning 1292    Truncated incorrect max_binlog_stmt_cache_size value: '0'
 
123
SELECT @@global.max_binlog_stmt_cache_size;
 
124
@@global.max_binlog_stmt_cache_size
 
125
4096
 
126
'#---------------------FN_DYNVARS_072_08----------------------#'
 
127
SET @@global.max_binlog_stmt_cache_size = 5000;
 
128
Warnings:
 
129
Warning 1292    Truncated incorrect max_binlog_stmt_cache_size value: '5000'
 
130
SELECT @@max_binlog_stmt_cache_size = @@global.max_binlog_stmt_cache_size;
 
131
@@max_binlog_stmt_cache_size = @@global.max_binlog_stmt_cache_size
 
132
1
 
133
'#---------------------FN_DYNVARS_072_09----------------------#'
 
134
SET max_binlog_stmt_cache_size = 6000;
 
135
ERROR HY000: Variable 'max_binlog_stmt_cache_size' is a GLOBAL variable and should be set with SET GLOBAL
 
136
SELECT @@max_binlog_stmt_cache_size;
 
137
@@max_binlog_stmt_cache_size
 
138
4096
 
139
SET local.max_binlog_stmt_cache_size = 7000;
 
140
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 'max_binlog_stmt_cache_size = 7000' at line 1
 
141
SELECT local.max_binlog_stmt_cache_size;
 
142
ERROR 42S02: Unknown table 'local' in field list
 
143
SET global.max_binlog_stmt_cache_size = 8000;
 
144
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 'max_binlog_stmt_cache_size = 8000' at line 1
 
145
SELECT global.max_binlog_stmt_cache_size;
 
146
ERROR 42S02: Unknown table 'global' in field list
 
147
SELECT max_binlog_stmt_cache_size = @@session.max_binlog_stmt_cache_size;
 
148
ERROR 42S22: Unknown column 'max_binlog_stmt_cache_size' in 'field list'
 
149
SET @@global.max_binlog_stmt_cache_size = @start_value;
 
150
SELECT @@global.max_binlog_stmt_cache_size;
 
151
@@global.max_binlog_stmt_cache_size
 
152
18446744073709547520