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

« back to all changes in this revision

Viewing changes to mysql-test/r/max_delayed_threads_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 @start_global_value = @@global.max_delayed_threads;
2
 
SELECT @start_global_value;
3
 
@start_global_value
4
 
20
5
 
SET @start_session_value = @@session.max_delayed_threads;
6
 
SELECT @start_session_value;
7
 
@start_session_value
8
 
20
9
 
'#--------------------FN_DYNVARS_075_01-------------------------#'
10
 
SET @@global.max_delayed_threads = 1000;
11
 
SET @@global.max_delayed_threads = DEFAULT;
12
 
SELECT @@global.max_delayed_threads;
13
 
@@global.max_delayed_threads
14
 
20
15
 
SET @@session.max_delayed_threads = 1000;
16
 
ERROR 42000: Variable 'max_delayed_threads' can't be set to the value of '1000'
17
 
'Bug# 34882: Valid values are not allowed to assign in this variable';
18
 
SET @@session.max_delayed_threads = DEFAULT;
19
 
SELECT @@session.max_delayed_threads;
20
 
@@session.max_delayed_threads
21
 
20
22
 
'#--------------------FN_DYNVARS_075_02-------------------------#'
23
 
SET @@global.max_delayed_threads = DEFAULT;
24
 
SELECT @@global.max_delayed_threads = 20;
25
 
@@global.max_delayed_threads = 20
26
 
1
27
 
SET @@session.max_delayed_threads = DEFAULT;
28
 
SELECT @@session.max_delayed_threads = 20;
29
 
@@session.max_delayed_threads = 20
30
 
1
31
 
'#--------------------FN_DYNVARS_075_03-------------------------#'
32
 
SET @@global.max_delayed_threads = 1;
33
 
SELECT @@global.max_delayed_threads;
34
 
@@global.max_delayed_threads
35
 
1
36
 
SET @@global.max_delayed_threads = 1025;
37
 
SELECT @@global.max_delayed_threads;
38
 
@@global.max_delayed_threads
39
 
1025
40
 
'Bug# 34877: Invalid Values are coming in variable on assigning valid values';
41
 
SET @@global.max_delayed_threads = 0;
42
 
SELECT @@global.max_delayed_threads;
43
 
@@global.max_delayed_threads
44
 
0
45
 
SET @@global.max_delayed_threads = 16384;
46
 
SELECT @@global.max_delayed_threads;
47
 
@@global.max_delayed_threads
48
 
16384
49
 
SET @@global.max_delayed_threads = 16383;
50
 
SELECT @@global.max_delayed_threads;
51
 
@@global.max_delayed_threads
52
 
16383
53
 
'#--------------------FN_DYNVARS_075_04-------------------------#'
54
 
SET @@session.max_delayed_threads = 1;
55
 
ERROR 42000: Variable 'max_delayed_threads' can't be set to the value of '1'
56
 
SELECT @@session.max_delayed_threads;
57
 
@@session.max_delayed_threads
58
 
20
59
 
SET @@session.max_delayed_threads = 1025;
60
 
ERROR 42000: Variable 'max_delayed_threads' can't be set to the value of '1025'
61
 
SELECT @@session.max_delayed_threads;
62
 
@@session.max_delayed_threads
63
 
20
64
 
SET @@session.max_delayed_threads = 0;
65
 
SELECT @@session.max_delayed_threads;
66
 
@@session.max_delayed_threads
67
 
0
68
 
SET @@session.max_delayed_threads = 16384;
69
 
ERROR 42000: Variable 'max_delayed_threads' can't be set to the value of '16384'
70
 
SELECT @@session.max_delayed_threads;
71
 
@@session.max_delayed_threads
72
 
0
73
 
SET @@session.max_delayed_threads = 16383;
74
 
SELECT @@session.max_delayed_threads;
75
 
@@session.max_delayed_threads
76
 
16383
77
 
'#------------------FN_DYNVARS_075_05-----------------------#'
78
 
SET @@global.max_delayed_threads = -1024;
79
 
SELECT @@global.max_delayed_threads;
80
 
@@global.max_delayed_threads
81
 
0
82
 
SET @@global.max_delayed_threads = -1;
83
 
SELECT @@global.max_delayed_threads;
84
 
@@global.max_delayed_threads
85
 
0
86
 
SET @@global.max_delayed_threads = 16385;
87
 
Warnings:
88
 
Warning 1292    Truncated incorrect max_delayed_threads value: '16385'
89
 
SELECT @@global.max_delayed_threads;
90
 
@@global.max_delayed_threads
91
 
16384
92
 
SET @@global.max_delayed_threads = 65530.34.;
93
 
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 '.' at line 1
94
 
SELECT @@global.max_delayed_threads;
95
 
@@global.max_delayed_threads
96
 
16384
97
 
SET @@global.max_delayed_threads = test;
98
 
ERROR 42000: Incorrect argument type to variable 'max_delayed_threads'
99
 
SELECT @@global.max_delayed_threads;
100
 
@@global.max_delayed_threads
101
 
16384
102
 
SET @@session.max_delayed_threads = 16385;
103
 
ERROR 42000: Variable 'max_delayed_threads' can't be set to the value of '16385'
104
 
SELECT @@session.max_delayed_threads;
105
 
@@session.max_delayed_threads
106
 
16383
107
 
SET @@session.max_delayed_threads = -1;
108
 
ERROR 42000: Variable 'max_delayed_threads' can't be set to the value of '-1'
109
 
SELECT @@session.max_delayed_threads;
110
 
@@session.max_delayed_threads
111
 
16383
112
 
SET @@session.max_delayed_threads = -2;
113
 
ERROR 42000: Variable 'max_delayed_threads' can't be set to the value of '-2'
114
 
SELECT @@session.max_delayed_threads;
115
 
@@session.max_delayed_threads
116
 
16383
117
 
SET @@session.max_delayed_threads = 65530.34.;
118
 
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 '.' at line 1
119
 
SET @@session.max_delayed_threads = 10737418241;
120
 
ERROR 42000: Variable 'max_delayed_threads' can't be set to the value of '10737418241'
121
 
SELECT @@session.max_delayed_threads;
122
 
@@session.max_delayed_threads
123
 
16383
124
 
SET @@session.max_delayed_threads = test;
125
 
ERROR 42000: Incorrect argument type to variable 'max_delayed_threads'
126
 
SELECT @@session.max_delayed_threads;
127
 
@@session.max_delayed_threads
128
 
16383
129
 
'#------------------FN_DYNVARS_075_06-----------------------#'
130
 
SELECT @@global.max_delayed_threads = VARIABLE_VALUE 
131
 
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
132
 
WHERE VARIABLE_NAME='max_delayed_threads';
133
 
@@global.max_delayed_threads = VARIABLE_VALUE
134
 
1
135
 
'#------------------FN_DYNVARS_075_07-----------------------#'
136
 
SELECT @@session.max_delayed_threads = VARIABLE_VALUE 
137
 
FROM INFORMATION_SCHEMA.SESSION_VARIABLES 
138
 
WHERE VARIABLE_NAME='max_delayed_threads';
139
 
@@session.max_delayed_threads = VARIABLE_VALUE
140
 
1
141
 
'#------------------FN_DYNVARS_075_08-----------------------#'
142
 
SET @@global.max_delayed_threads = TRUE;
143
 
SELECT @@global.max_delayed_threads;
144
 
@@global.max_delayed_threads
145
 
1
146
 
SET @@global.max_delayed_threads = FALSE;
147
 
SELECT @@global.max_delayed_threads;
148
 
@@global.max_delayed_threads
149
 
0
150
 
'#---------------------FN_DYNVARS_001_09----------------------#'
151
 
SET @@global.max_delayed_threads = 2048;
152
 
SELECT @@max_delayed_threads = @@global.max_delayed_threads;
153
 
@@max_delayed_threads = @@global.max_delayed_threads
154
 
0
155
 
'#---------------------FN_DYNVARS_001_10----------------------#'
156
 
SET @@max_delayed_threads = 100000;
157
 
ERROR 42000: Variable 'max_delayed_threads' can't be set to the value of '100000'
158
 
SELECT @@max_delayed_threads = @@local.max_delayed_threads;
159
 
@@max_delayed_threads = @@local.max_delayed_threads
160
 
1
161
 
SELECT @@local.max_delayed_threads = @@session.max_delayed_threads;
162
 
@@local.max_delayed_threads = @@session.max_delayed_threads
163
 
1
164
 
'#---------------------FN_DYNVARS_001_11----------------------#'
165
 
SET max_delayed_threads = 1024;
166
 
ERROR 42000: Variable 'max_delayed_threads' can't be set to the value of '1024'
167
 
SELECT @@max_delayed_threads;
168
 
@@max_delayed_threads
169
 
16383
170
 
SELECT local.max_delayed_threads;
171
 
ERROR 42S02: Unknown table 'local' in field list
172
 
SELECT session.max_delayed_threads;
173
 
ERROR 42S02: Unknown table 'session' in field list
174
 
SELECT max_delayed_threads = @@session.max_delayed_threads;
175
 
ERROR 42S22: Unknown column 'max_delayed_threads' in 'field list'
176
 
SET @@global.max_delayed_threads = @start_global_value;
177
 
SELECT @@global.max_delayed_threads;
178
 
@@global.max_delayed_threads
179
 
20
180
 
SET @@session.max_delayed_threads = @start_session_value;
181
 
SELECT @@session.max_delayed_threads;
182
 
@@session.max_delayed_threads
183
 
20