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

« back to all changes in this revision

Viewing changes to mysql-test/r/read_rnd_buffer_size_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.read_rnd_buffer_size;
2
 
SELECT @start_global_value;
3
 
@start_global_value
4
 
262144
5
 
SET @start_session_value = @@session.read_rnd_buffer_size;
6
 
SELECT @start_session_value;
7
 
@start_session_value
8
 
262144
9
 
'#--------------------FN_DYNVARS_140_01-------------------------#'
10
 
SET @@global.read_rnd_buffer_size = 1000;
11
 
Warnings:
12
 
Warning 1292    Truncated incorrect read_rnd_buffer_size value: '1000'
13
 
SET @@global.read_rnd_buffer_size = DEFAULT;
14
 
SELECT @@global.read_rnd_buffer_size;
15
 
@@global.read_rnd_buffer_size
16
 
262144
17
 
SET @@session.read_rnd_buffer_size = 2000;
18
 
Warnings:
19
 
Warning 1292    Truncated incorrect read_rnd_buffer_size value: '2000'
20
 
SET @@session.read_rnd_buffer_size = DEFAULT;
21
 
SELECT @@session.read_rnd_buffer_size;
22
 
@@session.read_rnd_buffer_size
23
 
262144
24
 
'#--------------------FN_DYNVARS_140_02-------------------------#'
25
 
SET @@global.read_rnd_buffer_size = DEFAULT;
26
 
SELECT @@global.read_rnd_buffer_size = 262144;
27
 
@@global.read_rnd_buffer_size = 262144
28
 
1
29
 
SET @@session.read_rnd_buffer_size = DEFAULT;
30
 
SELECT @@session.read_rnd_buffer_size = 262144;
31
 
@@session.read_rnd_buffer_size = 262144
32
 
1
33
 
'Bug# 34876: This variable has invalid default value as compared to documentation';
34
 
'#--------------------FN_DYNVARS_140_03-------------------------#'
35
 
SET @@global.read_rnd_buffer_size = 8201;
36
 
Warnings:
37
 
Warning 1292    Truncated incorrect read_rnd_buffer_size value: '8201'
38
 
SELECT @@global.read_rnd_buffer_size= 8200 OR @@global.read_rnd_buffer_size= 8228;
39
 
@@global.read_rnd_buffer_size= 8200 OR @@global.read_rnd_buffer_size= 8228
40
 
1
41
 
SET @@global.read_rnd_buffer_size = 8200;
42
 
Warnings:
43
 
Warning 1292    Truncated incorrect read_rnd_buffer_size value: '8200'
44
 
SELECT @@global.read_rnd_buffer_size= 8200 OR @@global.read_rnd_buffer_size= 8228;
45
 
@@global.read_rnd_buffer_size= 8200 OR @@global.read_rnd_buffer_size= 8228
46
 
1
47
 
SET @@global.read_rnd_buffer_size = 2147479552;
48
 
SELECT @@global.read_rnd_buffer_size;
49
 
@@global.read_rnd_buffer_size
50
 
2147479552
51
 
SET @@global.read_rnd_buffer_size = 2147479551;
52
 
SELECT @@global.read_rnd_buffer_size;
53
 
@@global.read_rnd_buffer_size
54
 
2147475456
55
 
'Bug# 34877: Invalid Values are coming in variable on assigning valid values';
56
 
'#--------------------FN_DYNVARS_140_04-------------------------#'
57
 
SET @@session.read_rnd_buffer_size = 8200;
58
 
Warnings:
59
 
Warning 1292    Truncated incorrect read_rnd_buffer_size value: '8200'
60
 
SELECT @@session.read_rnd_buffer_size= 8200 OR @@session.read_rnd_buffer_size= 8228;
61
 
@@session.read_rnd_buffer_size= 8200 OR @@session.read_rnd_buffer_size= 8228
62
 
1
63
 
SET @@session.read_rnd_buffer_size = 8201;
64
 
Warnings:
65
 
Warning 1292    Truncated incorrect read_rnd_buffer_size value: '8201'
66
 
SELECT @@session.read_rnd_buffer_size= 8200 OR @@session.read_rnd_buffer_size= 8228;
67
 
@@session.read_rnd_buffer_size= 8200 OR @@session.read_rnd_buffer_size= 8228
68
 
1
69
 
SET @@session.read_rnd_buffer_size = 2147479552;
70
 
SELECT @@session.read_rnd_buffer_size;
71
 
@@session.read_rnd_buffer_size
72
 
2147479552
73
 
SET @@session.read_rnd_buffer_size = 2147479551;
74
 
SELECT @@session.read_rnd_buffer_size;
75
 
@@session.read_rnd_buffer_size
76
 
2147475456
77
 
'#------------------FN_DYNVARS_140_05-----------------------#'
78
 
SET @@global.read_rnd_buffer_size = 8199;
79
 
Warnings:
80
 
Warning 1292    Truncated incorrect read_rnd_buffer_size value: '8199'
81
 
SELECT @@global.read_rnd_buffer_size= 8200 OR @@global.read_rnd_buffer_size= 8228;
82
 
@@global.read_rnd_buffer_size= 8200 OR @@global.read_rnd_buffer_size= 8228
83
 
1
84
 
SET @@global.read_rnd_buffer_size = -1024;
85
 
Warnings:
86
 
Warning 1292    Truncated incorrect read_rnd_buffer_size value: '0'
87
 
SELECT @@global.read_rnd_buffer_size= 8200 OR @@global.read_rnd_buffer_size= 8228;
88
 
@@global.read_rnd_buffer_size= 8200 OR @@global.read_rnd_buffer_size= 8228
89
 
1
90
 
SET @@global.read_rnd_buffer_size = 2147479553;
91
 
Warnings:
92
 
Warning 1292    Truncated incorrect read_rnd_buffer_size value: '2147479553'
93
 
SELECT @@global.read_rnd_buffer_size;
94
 
@@global.read_rnd_buffer_size
95
 
2147479552
96
 
SET @@global.read_rnd_buffer_size = 65530.34.;
97
 
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
98
 
SELECT @@global.read_rnd_buffer_size;
99
 
@@global.read_rnd_buffer_size
100
 
2147479552
101
 
SET @@global.read_rnd_buffer_size = test;
102
 
ERROR 42000: Incorrect argument type to variable 'read_rnd_buffer_size'
103
 
SELECT @@global.read_rnd_buffer_size;
104
 
@@global.read_rnd_buffer_size
105
 
2147479552
106
 
SET @@session.read_rnd_buffer_size = 8199;
107
 
Warnings:
108
 
Warning 1292    Truncated incorrect read_rnd_buffer_size value: '8199'
109
 
SELECT @@session.read_rnd_buffer_size= 8200 OR @@session.read_rnd_buffer_size= 8228;
110
 
@@session.read_rnd_buffer_size= 8200 OR @@session.read_rnd_buffer_size= 8228
111
 
1
112
 
SET @@session.read_rnd_buffer_size = -2;
113
 
Warnings:
114
 
Warning 1292    Truncated incorrect read_rnd_buffer_size value: '0'
115
 
SELECT @@session.read_rnd_buffer_size= 8200 OR @@session.read_rnd_buffer_size= 8228;
116
 
@@session.read_rnd_buffer_size= 8200 OR @@session.read_rnd_buffer_size= 8228
117
 
1
118
 
SET @@session.read_rnd_buffer_size = 65530.34.;
119
 
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
120
 
SET @@session.read_rnd_buffer_size = 2147479553;
121
 
Warnings:
122
 
Warning 1292    Truncated incorrect read_rnd_buffer_size value: '2147479553'
123
 
SELECT @@session.read_rnd_buffer_size;
124
 
@@session.read_rnd_buffer_size
125
 
2147479552
126
 
'Bug # 34837: Errors are not coming on assigning invalid values to variable';
127
 
SET @@session.read_rnd_buffer_size = test;
128
 
ERROR 42000: Incorrect argument type to variable 'read_rnd_buffer_size'
129
 
SELECT @@session.read_rnd_buffer_size;
130
 
@@session.read_rnd_buffer_size
131
 
2147479552
132
 
'#------------------FN_DYNVARS_140_06-----------------------#'
133
 
SELECT @@global.read_rnd_buffer_size = VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME='read_rnd_buffer_size';
134
 
@@global.read_rnd_buffer_size = VARIABLE_VALUE
135
 
1
136
 
'#------------------FN_DYNVARS_140_07-----------------------#'
137
 
SELECT @@session.read_rnd_buffer_size = 
138
 
VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_VARIABLES WHERE VARIABLE_NAME='read_rnd_buffer_size';
139
 
@@session.read_rnd_buffer_size = 
140
 
VARIABLE_VALUE
141
 
1
142
 
'#------------------FN_DYNVARS_140_08-----------------------#'
143
 
SET @@global.read_rnd_buffer_size = TRUE;
144
 
Warnings:
145
 
Warning 1292    Truncated incorrect read_rnd_buffer_size value: '1'
146
 
SELECT @@global.read_rnd_buffer_size= 8200 OR @@global.read_rnd_buffer_size= 8228;
147
 
@@global.read_rnd_buffer_size= 8200 OR @@global.read_rnd_buffer_size= 8228
148
 
1
149
 
SET @@global.read_rnd_buffer_size = FALSE;
150
 
Warnings:
151
 
Warning 1292    Truncated incorrect read_rnd_buffer_size value: '0'
152
 
SELECT @@global.read_rnd_buffer_size= 8200 OR @@global.read_rnd_buffer_size= 8228;
153
 
@@global.read_rnd_buffer_size= 8200 OR @@global.read_rnd_buffer_size= 8228
154
 
1
155
 
'#---------------------FN_DYNVARS_140_09----------------------#'
156
 
SET @@global.read_rnd_buffer_size = 9000;
157
 
Warnings:
158
 
Warning 1292    Truncated incorrect read_rnd_buffer_size value: '9000'
159
 
SELECT @@read_rnd_buffer_size = @@global.read_rnd_buffer_size;
160
 
@@read_rnd_buffer_size = @@global.read_rnd_buffer_size
161
 
0
162
 
'#---------------------FN_DYNVARS_140_10----------------------#'
163
 
SET @@read_rnd_buffer_size = 9000;
164
 
Warnings:
165
 
Warning 1292    Truncated incorrect read_rnd_buffer_size value: '9000'
166
 
SELECT @@read_rnd_buffer_size = @@local.read_rnd_buffer_size;
167
 
@@read_rnd_buffer_size = @@local.read_rnd_buffer_size
168
 
1
169
 
SELECT @@local.read_rnd_buffer_size = @@session.read_rnd_buffer_size;
170
 
@@local.read_rnd_buffer_size = @@session.read_rnd_buffer_size
171
 
1
172
 
'#---------------------FN_DYNVARS_140_11----------------------#'
173
 
SET read_rnd_buffer_size = 9100;
174
 
Warnings:
175
 
Warning 1292    Truncated incorrect read_rnd_buffer_size value: '9100'
176
 
SELECT @@read_rnd_buffer_size= 8200 OR @@read_rnd_buffer_size= 8228;
177
 
@@read_rnd_buffer_size= 8200 OR @@read_rnd_buffer_size= 8228
178
 
1
179
 
SELECT local.read_rnd_buffer_size;
180
 
ERROR 42S02: Unknown table 'local' in field list
181
 
SELECT session.read_rnd_buffer_size;
182
 
ERROR 42S02: Unknown table 'session' in field list
183
 
SELECT read_rnd_buffer_size = @@session.read_rnd_buffer_size;
184
 
ERROR 42S22: Unknown column 'read_rnd_buffer_size' in 'field list'
185
 
SET @@global.read_rnd_buffer_size = @start_global_value;
186
 
SELECT @@global.read_rnd_buffer_size;
187
 
@@global.read_rnd_buffer_size
188
 
262144
189
 
SET @@session.read_rnd_buffer_size = @start_session_value;
190
 
SELECT @@session.read_rnd_buffer_size;
191
 
@@session.read_rnd_buffer_size
192
 
262144