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

« back to all changes in this revision

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