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

« back to all changes in this revision

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