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

« back to all changes in this revision

Viewing changes to mysql-test/r/max_sort_length_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_sort_length;
2
 
SELECT @start_global_value;
3
 
@start_global_value
4
 
1024
5
 
SET @start_session_value = @@session.max_sort_length;
6
 
SELECT @start_session_value;
7
 
@start_session_value
8
 
1024
9
 
'#--------------------FN_DYNVARS_084_01-------------------------#'
10
 
SET @@global.max_sort_length = 1000;
11
 
SET @@global.max_sort_length = DEFAULT;
12
 
SELECT @@global.max_sort_length;
13
 
@@global.max_sort_length
14
 
1024
15
 
SET @@session.max_sort_length = 1000;
16
 
SET @@session.max_sort_length = DEFAULT;
17
 
SELECT @@session.max_sort_length;
18
 
@@session.max_sort_length
19
 
1024
20
 
'#--------------------FN_DYNVARS_084_02-------------------------#'
21
 
SET @@global.max_sort_length = DEFAULT;
22
 
SELECT @@global.max_sort_length = 1024;
23
 
@@global.max_sort_length = 1024
24
 
1
25
 
SET @@session.max_sort_length = DEFAULT;
26
 
SELECT @@session.max_sort_length = 1024;
27
 
@@session.max_sort_length = 1024
28
 
1
29
 
'#--------------------FN_DYNVARS_084_03-------------------------#'
30
 
SET @@global.max_sort_length = 4;
31
 
SELECT @@global.max_sort_length;
32
 
@@global.max_sort_length
33
 
4
34
 
SET @@global.max_sort_length = 5;
35
 
SELECT @@global.max_sort_length;
36
 
@@global.max_sort_length
37
 
5
38
 
SET @@global.max_sort_length = 8388608;
39
 
SELECT @@global.max_sort_length;
40
 
@@global.max_sort_length
41
 
8388608
42
 
SET @@global.max_sort_length = 8388607;
43
 
SELECT @@global.max_sort_length;
44
 
@@global.max_sort_length
45
 
8388607
46
 
SET @@global.max_sort_length = 65536;
47
 
SELECT @@global.max_sort_length;
48
 
@@global.max_sort_length
49
 
65536
50
 
'#--------------------FN_DYNVARS_084_04-------------------------#'
51
 
SET @@session.max_sort_length = 4;
52
 
SELECT @@session.max_sort_length;
53
 
@@session.max_sort_length
54
 
4
55
 
SET @@session.max_sort_length = 5;
56
 
SELECT @@session.max_sort_length;
57
 
@@session.max_sort_length
58
 
5
59
 
SET @@session.max_sort_length = 8388608;
60
 
SELECT @@session.max_sort_length;
61
 
@@session.max_sort_length
62
 
8388608
63
 
SET @@session.max_sort_length = 8388607;
64
 
SELECT @@session.max_sort_length;
65
 
@@session.max_sort_length
66
 
8388607
67
 
SET @@session.max_sort_length = 65536;
68
 
SELECT @@session.max_sort_length;
69
 
@@session.max_sort_length
70
 
65536
71
 
'#------------------FN_DYNVARS_084_05-----------------------#'
72
 
SET @@global.max_sort_length = -1024;
73
 
Warnings:
74
 
Warning 1292    Truncated incorrect max_sort_length value: '0'
75
 
SELECT @@global.max_sort_length;
76
 
@@global.max_sort_length
77
 
4
78
 
SET @@global.max_sort_length = 3;
79
 
Warnings:
80
 
Warning 1292    Truncated incorrect max_sort_length value: '3'
81
 
SELECT @@global.max_sort_length;
82
 
@@global.max_sort_length
83
 
4
84
 
SET @@global.max_sort_length = 8388609;
85
 
Warnings:
86
 
Warning 1292    Truncated incorrect max_sort_length value: '8388609'
87
 
SELECT @@global.max_sort_length;
88
 
@@global.max_sort_length
89
 
8388608
90
 
SET @@global.max_sort_length = 0;
91
 
Warnings:
92
 
Warning 1292    Truncated incorrect max_sort_length value: '0'
93
 
SELECT @@global.max_sort_length;
94
 
@@global.max_sort_length
95
 
4
96
 
SET @@global.max_sort_length = 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.max_sort_length;
99
 
@@global.max_sort_length
100
 
4
101
 
SET @@global.max_sort_length = test;
102
 
ERROR 42000: Incorrect argument type to variable 'max_sort_length'
103
 
SELECT @@global.max_sort_length;
104
 
@@global.max_sort_length
105
 
4
106
 
SET @@session.max_sort_length = 8388610;
107
 
Warnings:
108
 
Warning 1292    Truncated incorrect max_sort_length value: '8388610'
109
 
SELECT @@session.max_sort_length;
110
 
@@session.max_sort_length
111
 
8388608
112
 
SET @@session.max_sort_length = -1;
113
 
Warnings:
114
 
Warning 1292    Truncated incorrect max_sort_length value: '0'
115
 
SELECT @@session.max_sort_length;
116
 
@@session.max_sort_length
117
 
4
118
 
SET @@session.max_sort_length = 3;
119
 
Warnings:
120
 
Warning 1292    Truncated incorrect max_sort_length value: '3'
121
 
SELECT @@session.max_sort_length;
122
 
@@session.max_sort_length
123
 
4
124
 
SET @@session.max_sort_length = 0;
125
 
Warnings:
126
 
Warning 1292    Truncated incorrect max_sort_length value: '0'
127
 
SELECT @@session.max_sort_length;
128
 
@@session.max_sort_length
129
 
4
130
 
SET @@session.max_sort_length = 65530.34.;
131
 
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
132
 
SET @@session.max_sort_length = 10737418241;
133
 
Warnings:
134
 
Warning 1292    Truncated incorrect max_sort_length value: '10737418241'
135
 
SELECT @@session.max_sort_length;
136
 
@@session.max_sort_length
137
 
8388608
138
 
SET @@session.max_sort_length = test;
139
 
ERROR 42000: Incorrect argument type to variable 'max_sort_length'
140
 
SELECT @@session.max_sort_length;
141
 
@@session.max_sort_length
142
 
8388608
143
 
'#------------------FN_DYNVARS_084_06-----------------------#'
144
 
SELECT @@global.max_sort_length = VARIABLE_VALUE 
145
 
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
146
 
WHERE VARIABLE_NAME='max_sort_length';
147
 
@@global.max_sort_length = VARIABLE_VALUE
148
 
1
149
 
'#------------------FN_DYNVARS_084_07-----------------------#'
150
 
SELECT @@session.max_sort_length = VARIABLE_VALUE 
151
 
FROM INFORMATION_SCHEMA.SESSION_VARIABLES 
152
 
WHERE VARIABLE_NAME='max_sort_length';
153
 
@@session.max_sort_length = VARIABLE_VALUE
154
 
1
155
 
'#------------------FN_DYNVARS_084_08-----------------------#'
156
 
SET @@global.max_sort_length = TRUE;
157
 
Warnings:
158
 
Warning 1292    Truncated incorrect max_sort_length value: '1'
159
 
SELECT @@global.max_sort_length;
160
 
@@global.max_sort_length
161
 
4
162
 
SET @@global.max_sort_length = FALSE;
163
 
Warnings:
164
 
Warning 1292    Truncated incorrect max_sort_length value: '0'
165
 
SELECT @@global.max_sort_length;
166
 
@@global.max_sort_length
167
 
4
168
 
'#---------------------FN_DYNVARS_084_09----------------------#'
169
 
SET @@global.max_sort_length = 2048;
170
 
SELECT @@max_sort_length = @@global.max_sort_length;
171
 
@@max_sort_length = @@global.max_sort_length
172
 
0
173
 
'#---------------------FN_DYNVARS_084_10----------------------#'
174
 
SET @@max_sort_length = 100000;
175
 
SELECT @@max_sort_length = @@local.max_sort_length;
176
 
@@max_sort_length = @@local.max_sort_length
177
 
1
178
 
SELECT @@local.max_sort_length = @@session.max_sort_length;
179
 
@@local.max_sort_length = @@session.max_sort_length
180
 
1
181
 
'#---------------------FN_DYNVARS_084_11----------------------#'
182
 
SET max_sort_length = 1024;
183
 
SELECT @@max_sort_length;
184
 
@@max_sort_length
185
 
1024
186
 
SELECT local.max_sort_length;
187
 
ERROR 42S02: Unknown table 'local' in field list
188
 
SELECT session.max_sort_length;
189
 
ERROR 42S02: Unknown table 'session' in field list
190
 
SELECT max_sort_length = @@session.max_sort_length;
191
 
ERROR 42S22: Unknown column 'max_sort_length' in 'field list'
192
 
SET @@global.max_sort_length = @start_global_value;
193
 
SELECT @@global.max_sort_length;
194
 
@@global.max_sort_length
195
 
1024
196
 
SET @@session.max_sort_length = @start_session_value;
197
 
SELECT @@session.max_sort_length;
198
 
@@session.max_sort_length
199
 
1024