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

« back to all changes in this revision

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