~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/query_cache_size_basic_32.result

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-02-14 23:59:22 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120214235922-cux5uek1e5l0hje9
Tags: 5.5.20-0ubuntu1
* New upstream release.
* d/mysql-server-5.5.mysql.upstart: Fix stop on to make sure mysql is
  fully stopped before shutdown commences. (LP: #688541) Also simplify
  start on as it is redundant.
* d/control: Depend on upstart version which has apparmor profile load
  script to prevent failure on upgrade from lucid to precise.
  (LP: #907465)
* d/apparmor-profile: need to allow /run since that is the true path
  of /var/run files. (LP: #917542)
* d/control: mysql-server-5.5 has files in it that used to be owned
  by libmysqlclient-dev, so it must break/replace it. (LP: #912487)
* d/rules, d/control: 5.5.20 Fixes segfault on tests with gcc 4.6,
  change compiler back to system default.
* d/rules: Turn off embedded libedit/readline.(Closes: #659566)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
SET @start_value = @@global.query_cache_size;
2
2
'#--------------------FN_DYNVARS_133_01------------------------#'
3
3
SET @@global.query_cache_size = 99;
 
4
Warnings:
 
5
Warning 1292    Truncated incorrect query_cache_size value: '99'
4
6
SET @@global.query_cache_size = DEFAULT;
5
7
SELECT @@global.query_cache_size;
6
8
@@global.query_cache_size
16
18
@@global.query_cache_size
17
19
0
18
20
SET @@global.query_cache_size = 1;
 
21
Warnings:
 
22
Warning 1292    Truncated incorrect query_cache_size value: '1'
19
23
SELECT @@global.query_cache_size;
20
24
@@global.query_cache_size
21
25
0
22
26
SET @@global.query_cache_size = 512;
 
27
Warnings:
 
28
Warning 1292    Truncated incorrect query_cache_size value: '512'
23
29
SELECT @@global.query_cache_size;
24
30
@@global.query_cache_size
25
31
0
29
35
SELECT @@global.query_cache_size;
30
36
@@global.query_cache_size
31
37
0
32
 
: 'Bug#34880: Warnings are coming on assinging valid values to variable
33
 
'Bug# 34877: Invalid Values are coming in variable on assigning valid values';
34
38
SET @@global.query_cache_size = 1048576;
35
39
SELECT @@global.query_cache_size;
36
40
@@global.query_cache_size
37
41
1048576
38
42
SET @@global.query_cache_size = 1048575;
 
43
Warnings:
 
44
Warning 1292    Truncated incorrect query_cache_size value: '1048575'
39
45
SELECT @@global.query_cache_size;
40
46
@@global.query_cache_size
41
47
1047552
46
52
SELECT @@global.query_cache_size;
47
53
@@global.query_cache_size
48
54
0
49
 
SET @@global.query_cache_size = 4294967296;
50
 
Warnings:
51
 
Warning 1292    Truncated incorrect query_cache_size value: '4294967296'
52
 
Warning 1282    Query cache failed to set size 4294966272; new query cache size is 0
53
 
SELECT @@global.query_cache_size;
54
 
@@global.query_cache_size
55
 
0
56
55
SET @@global.query_cache_size = 511;
 
56
Warnings:
 
57
Warning 1292    Truncated incorrect query_cache_size value: '511'
57
58
SELECT @@global.query_cache_size;
58
59
@@global.query_cache_size
59
60
0
75
76
SELECT @@global.query_cache_size;
76
77
@@global.query_cache_size
77
78
0
78
 
'Bug # 34837: Errors are not coming on assigning invalid values to variable';
79
79
SET @@global.query_cache_size = ON;
80
80
ERROR 42000: Incorrect argument type to variable 'query_cache_size'
81
81
SELECT @@global.query_cache_size;
105
105
1
106
106
'#---------------------FN_DYNVARS_133_07----------------------#'
107
107
SET @@global.query_cache_size = TRUE;
 
108
Warnings:
 
109
Warning 1292    Truncated incorrect query_cache_size value: '1'
108
110
SELECT @@global.query_cache_size;
109
111
@@global.query_cache_size
110
112
0
114
116
0
115
117
'#---------------------FN_DYNVARS_133_08----------------------#'
116
118
SET @@global.query_cache_size = 1;
 
119
Warnings:
 
120
Warning 1292    Truncated incorrect query_cache_size value: '1'
117
121
SELECT @@query_cache_size = @@global.query_cache_size;
118
122
@@query_cache_size = @@global.query_cache_size
119
123
1