~mathiaz/ubuntu/lucid/mysql-dfsg-5.1/zap-bug-552053

« back to all changes in this revision

Viewing changes to mysql-test/r/query_cache_wlock_invalidate_basic.result

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2009-06-25 12:55:45 UTC
  • mfrom: (1.1.2 upstream) (0.1.3 experimental)
  • Revision ID: james.westby@ubuntu.com-20090625125545-m8ogs96zzsri74xe
Tags: 5.1.34-1ubuntu1
* Merge from debian experimental (and 5.0 from main), remaining changes:
  - debian/mysql-server-5.1.config:
    + ask for MySQL root password at priority high instead of medium so
      that the password prompt is seen on a default install. (LP: #319843)
    + don't ask for root password when upgrading from a 5.0 install.
  - debian/control:
    + Make libmysqlclient16-dev a transitional package depending on
      libmysqlclient-dev.
    + Make libmysqlclient-dev conflict with libmysqlclient15-dev.
    + Don't build mysql-server, mysql-client, mysql-common and
      libmysqlclient15-dev binary packages since they're still provided
      by mysql-dfsg-5.0.
    + Make mysql-{client,server}-5.1 packages conflict and
      replace mysql-{client,server}-5.0, but not provide
      mysql-{client,server}.
    + Depend on a specific version of mysql-common rather than the src
      version of mysql-dfsg-5.1 since mysql-common is currently part of
      mysql-dfsg-5.0.
    + Lower mailx from a Recommends to a Suggests to avoid pulling in
      a full MTA on all installs of mysql-server. (LP: #259477)
  - debian/rules:
    + added -fno-strict-aliasing to CFLAGS to get around mysql testsuite
      build failures.
    + install mysql-test and sql-bench to /usr/share/mysql/ rather than
      /usr/.
  - debian/additions/debian-start.inc.sh: support ANSI mode (LP: #310211)
  - Add AppArmor profile:
    - debian/apparmor-profile: apparmor profile.
    - debian/rules, debian/mysql-server-5.0.files: install apparmor profile.
    - debian/mysql-server-5.0.dirs: add etc/apparmor.d/force-complain
    - debian/mysql-server-5.0.postrm: remove symlink in force-complain/ on
      purge.
    - debian/mysql-server-5.1.README.Debian: add apparmor documentation.
    - debian/additions/my.cnf: Add warning about apparmor. (LP: #201799)
    - debian/mysql-server-5.1.postinst: reload apparmor profiles.
  - debian/additions/my.cnf: remove language option. Error message files are
    located in a different directory in MySQL 5.0. Setting the language
    option to use /usr/share/mysql/english breaks 5.0. Both 5.0 and 5.1
    use a default value that works. (LP: #316974)
  - debian/mysql-server-5.1.mysql.init:
    + Clearly indicate that we do not support running multiple instances
      of mysqld by duplicating the init script.
      (closes: #314785, #324834, #435165, #444216)
    + Properly parameterize all existing references to the mysql config
      file (/etc/mysql/my.cnf).
  - debian/mysql-server-5.0.postinst: Clear out the second password
    when setting up mysql. (LP: #344816)
  - mysql-server-core-5.1 package for files needed by Akonadi:
    + debian/control: create mysql-server-core-5.1 package.
    + debian/mysql-server-core-5.1.files, debian/mysql-server-5.1.files:
      move core mysqld files to mysql-server-core-5.1 package.
  - Don't package sql-bench and mysql-test file.
* Dropped changes:
  - debian/patches/92_ssl_test_cert.dpatch: certificate expiration in
    test suite (LP: #323755). Included upstream.
* Dropped from 5.0:
  - apparmor profile:
    - debian/control: Recommends apparmor >= 2.1+1075-0ubuntu6. All version
      of apparmor-profile (>hardy) are higher than this version.
    - debian/mysql-server-5.0.preinst: create symlink for force-complain/
      on pre-feisty upgrades, upgrades where apparmor-profiles profile is
      unchanged (ie non-enforcing) and upgrades where the profile
      doesn't exist. Support for pre-hardy upgrades is no longer needed.
* debian/mysql-server-5.1.postinst: fix debian-sys-maint user creation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
SET @session_start_value = @@session.query_cache_wlock_invalidate;
2
 
SELECT @session_start_value;
3
 
@session_start_value
4
 
0
5
 
SET @global_start_value = @@global.query_cache_wlock_invalidate;
6
 
SELECT @global_start_value;
7
 
@global_start_value
8
 
0
9
 
'#--------------------FN_DYNVARS_135_01------------------------#'
10
 
SET @@session.query_cache_wlock_invalidate = 1;
11
 
SET @@session.query_cache_wlock_invalidate = DEFAULT;
12
 
SELECT @@session.query_cache_wlock_invalidate;
13
 
@@session.query_cache_wlock_invalidate
14
 
0
15
 
SET @@global.query_cache_wlock_invalidate = 1;
16
 
SET @@global.query_cache_wlock_invalidate = DEFAULT;
17
 
SELECT @@global.query_cache_wlock_invalidate;
18
 
@@global.query_cache_wlock_invalidate
19
 
0
20
 
'#---------------------FN_DYNVARS_135_02-------------------------#'
21
 
SET query_cache_wlock_invalidate = 1;
22
 
SELECT @@query_cache_wlock_invalidate;
23
 
@@query_cache_wlock_invalidate
24
 
1
25
 
SELECT session.query_cache_wlock_invalidate;
26
 
ERROR 42S02: Unknown table 'session' in field list
27
 
SELECT local.query_cache_wlock_invalidate;
28
 
ERROR 42S02: Unknown table 'local' in field list
29
 
SELECT global.query_cache_wlock_invalidate;
30
 
ERROR 42S02: Unknown table 'global' in field list
31
 
SET session query_cache_wlock_invalidate = 0;
32
 
SELECT @@session.query_cache_wlock_invalidate;
33
 
@@session.query_cache_wlock_invalidate
34
 
0
35
 
SET global query_cache_wlock_invalidate = 0;
36
 
SELECT @@global.query_cache_wlock_invalidate;
37
 
@@global.query_cache_wlock_invalidate
38
 
0
39
 
'#--------------------FN_DYNVARS_135_03------------------------#'
40
 
SET @@session.query_cache_wlock_invalidate = 0;
41
 
SELECT @@session.query_cache_wlock_invalidate;
42
 
@@session.query_cache_wlock_invalidate
43
 
0
44
 
SET @@session.query_cache_wlock_invalidate = 1;
45
 
SELECT @@session.query_cache_wlock_invalidate;
46
 
@@session.query_cache_wlock_invalidate
47
 
1
48
 
SET @@global.query_cache_wlock_invalidate = 0;
49
 
SELECT @@global.query_cache_wlock_invalidate;
50
 
@@global.query_cache_wlock_invalidate
51
 
0
52
 
SET @@global.query_cache_wlock_invalidate = 1;
53
 
SELECT @@global.query_cache_wlock_invalidate;
54
 
@@global.query_cache_wlock_invalidate
55
 
1
56
 
'#--------------------FN_DYNVARS_135_04-------------------------#'
57
 
SET @@session.query_cache_wlock_invalidate = -1;
58
 
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of '-1'
59
 
SET @@session.query_cache_wlock_invalidate = 1.6;
60
 
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of '2'
61
 
SET @@session.query_cache_wlock_invalidate = "T";
62
 
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'T'
63
 
SET @@session.query_cache_wlock_invalidate = "Y";
64
 
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'Y'
65
 
SET @@session.query_cache_wlock_invalidate = TR�E;
66
 
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'TRÜE'
67
 
SET @@session.query_cache_wlock_invalidate = �N;
68
 
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'ÕN'
69
 
SET @@session.query_cache_wlock_invalidate = OF;
70
 
SELECT @@session.query_cache_wlock_invalidate;
71
 
@@session.query_cache_wlock_invalidate
72
 
0
73
 
'Bug# 34828: OF is taken as OFF and a value of 0 is set.'
74
 
SET @@session.query_cache_wlock_invalidate = �FF;
75
 
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'ÓFF'
76
 
SET @@global.query_cache_wlock_invalidate = -1;
77
 
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of '-1'
78
 
SET @@global.query_cache_wlock_invalidate = 2;
79
 
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of '2'
80
 
SET @@global.query_cache_wlock_invalidate = "T";
81
 
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'T'
82
 
SET @@global.query_cache_wlock_invalidate = "Y";
83
 
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'Y'
84
 
SET @@global.query_cache_wlock_invalidate = TR�E;
85
 
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'TRÜE'
86
 
SET @@global.query_cache_wlock_invalidate = �N;
87
 
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'ÕN'
88
 
SET @@global.query_cache_wlock_invalidate = OF;
89
 
SELECT @@global.query_cache_wlock_invalidate;
90
 
@@global.query_cache_wlock_invalidate
91
 
0
92
 
'Bug 34828: OF is taken as OFF and a value of 0 is set.'
93
 
SET @@global.query_cache_wlock_invalidate = �FF;
94
 
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'ÓFF'
95
 
'#-------------------FN_DYNVARS_135_05----------------------------#'
96
 
SET @@global.query_cache_wlock_invalidate = 0;
97
 
SET @@session.query_cache_wlock_invalidate = 1;
98
 
SELECT @@global.query_cache_wlock_invalidate AS res_is_0;
99
 
res_is_0
100
 
0
101
 
SET @@global.query_cache_wlock_invalidate = 0;
102
 
SELECT @@session.query_cache_wlock_invalidate AS res_is_1;
103
 
res_is_1
104
 
1
105
 
'#----------------------FN_DYNVARS_135_06------------------------#'
106
 
SELECT @@global.query_cache_wlock_invalidate = VARIABLE_VALUE 
107
 
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
108
 
WHERE VARIABLE_NAME='query_cache_wlock_invalidate';
109
 
@@global.query_cache_wlock_invalidate = VARIABLE_VALUE
110
 
1
111
 
SELECT @@global.query_cache_wlock_invalidate;
112
 
@@global.query_cache_wlock_invalidate
113
 
0
114
 
SELECT VARIABLE_VALUE 
115
 
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
116
 
WHERE VARIABLE_NAME='query_cache_wlock_invalidate';
117
 
VARIABLE_VALUE
118
 
OFF
119
 
'#----------------------FN_DYNVARS_135_07------------------------#'
120
 
SELECT @@session.query_cache_wlock_invalidate = VARIABLE_VALUE 
121
 
FROM INFORMATION_SCHEMA.SESSION_VARIABLES 
122
 
WHERE VARIABLE_NAME='query_cache_wlock_invalidate';
123
 
@@session.query_cache_wlock_invalidate = VARIABLE_VALUE
124
 
0
125
 
SELECT @@session.query_cache_wlock_invalidate;
126
 
@@session.query_cache_wlock_invalidate
127
 
1
128
 
SELECT VARIABLE_VALUE 
129
 
FROM INFORMATION_SCHEMA.SESSION_VARIABLES 
130
 
WHERE VARIABLE_NAME='query_cache_wlock_invalidate';
131
 
VARIABLE_VALUE
132
 
ON
133
 
'#---------------------FN_DYNVARS_135_08-------------------------#'
134
 
SET @@session.query_cache_wlock_invalidate = OFF;
135
 
SELECT @@session.query_cache_wlock_invalidate;
136
 
@@session.query_cache_wlock_invalidate
137
 
0
138
 
SET @@session.query_cache_wlock_invalidate = ON;
139
 
SELECT @@session.query_cache_wlock_invalidate;
140
 
@@session.query_cache_wlock_invalidate
141
 
1
142
 
SET @@global.query_cache_wlock_invalidate = OFF;
143
 
SELECT @@global.query_cache_wlock_invalidate;
144
 
@@global.query_cache_wlock_invalidate
145
 
0
146
 
SET @@global.query_cache_wlock_invalidate = ON;
147
 
SELECT @@global.query_cache_wlock_invalidate;
148
 
@@global.query_cache_wlock_invalidate
149
 
1
150
 
'#---------------------FN_DYNVARS_135_09----------------------#'
151
 
SET @@session.query_cache_wlock_invalidate = TRUE;
152
 
SELECT @@session.query_cache_wlock_invalidate;
153
 
@@session.query_cache_wlock_invalidate
154
 
1
155
 
SET @@session.query_cache_wlock_invalidate = FALSE;
156
 
SELECT @@session.query_cache_wlock_invalidate;
157
 
@@session.query_cache_wlock_invalidate
158
 
0
159
 
SET @@global.query_cache_wlock_invalidate = TRUE;
160
 
SELECT @@global.query_cache_wlock_invalidate;
161
 
@@global.query_cache_wlock_invalidate
162
 
1
163
 
SET @@global.query_cache_wlock_invalidate = FALSE;
164
 
SELECT @@global.query_cache_wlock_invalidate;
165
 
@@global.query_cache_wlock_invalidate
166
 
0
167
 
SET @@session.query_cache_wlock_invalidate = @session_start_value;
168
 
SELECT @@session.query_cache_wlock_invalidate;
169
 
@@session.query_cache_wlock_invalidate
170
 
0
171
 
SET @@global.query_cache_wlock_invalidate = @global_start_value;
172
 
SELECT @@global.query_cache_wlock_invalidate;
173
 
@@global.query_cache_wlock_invalidate
174
 
0