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

« back to all changes in this revision

Viewing changes to mysql-test/r/low_priority_updates_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.low_priority_updates;
2
 
SELECT @start_global_value;
3
 
@start_global_value
4
 
0
5
 
SET @start_session_value = @@session.low_priority_updates;
6
 
SELECT @start_session_value;
7
 
@start_session_value
8
 
0
9
 
'#--------------------FN_DYNVARS_069_01-------------------------#'
10
 
SET @@global.low_priority_updates = ON;
11
 
SET @@global.low_priority_updates = DEFAULT;
12
 
SELECT @@global.low_priority_updates;
13
 
@@global.low_priority_updates
14
 
0
15
 
SET @@session.low_priority_updates = ON;
16
 
SET @@session.low_priority_updates = DEFAULT;
17
 
SELECT @@session.low_priority_updates;
18
 
@@session.low_priority_updates
19
 
0
20
 
'#--------------------FN_DYNVARS_069_02-------------------------#'
21
 
SET @@global.low_priority_updates = DEFAULT;
22
 
SELECT @@global.low_priority_updates = 'FALSE';
23
 
@@global.low_priority_updates = 'FALSE'
24
 
1
25
 
Warnings:
26
 
Warning 1292    Truncated incorrect DOUBLE value: 'FALSE'
27
 
SET @@session.low_priority_updates = DEFAULT;
28
 
SELECT @@session.low_priority_updates = 'FALSE';
29
 
@@session.low_priority_updates = 'FALSE'
30
 
1
31
 
Warnings:
32
 
Warning 1292    Truncated incorrect DOUBLE value: 'FALSE'
33
 
'#--------------------FN_DYNVARS_069_03-------------------------#'
34
 
SET @@global.low_priority_updates = ON;
35
 
SELECT @@global.low_priority_updates;
36
 
@@global.low_priority_updates
37
 
1
38
 
SET @@global.low_priority_updates = OFF;
39
 
SELECT @@global.low_priority_updates;
40
 
@@global.low_priority_updates
41
 
0
42
 
SET @@global.low_priority_updates = 0;
43
 
SELECT @@global.low_priority_updates;
44
 
@@global.low_priority_updates
45
 
0
46
 
SET @@global.low_priority_updates = 1;
47
 
SELECT @@global.low_priority_updates;
48
 
@@global.low_priority_updates
49
 
1
50
 
SET @@global.low_priority_updates = TRUE;
51
 
SELECT @@global.low_priority_updates;
52
 
@@global.low_priority_updates
53
 
1
54
 
SET @@global.low_priority_updates = FALSE;
55
 
SELECT @@global.low_priority_updates;
56
 
@@global.low_priority_updates
57
 
0
58
 
'#--------------------FN_DYNVARS_069_04-------------------------#'
59
 
SET @@session.low_priority_updates = ON;
60
 
SELECT @@session.low_priority_updates;
61
 
@@session.low_priority_updates
62
 
1
63
 
SET @@session.low_priority_updates = OFF;
64
 
SELECT @@session.low_priority_updates;
65
 
@@session.low_priority_updates
66
 
0
67
 
SET @@session.low_priority_updates = 0;
68
 
SELECT @@session.low_priority_updates;
69
 
@@session.low_priority_updates
70
 
0
71
 
SET @@session.low_priority_updates = 1;
72
 
SELECT @@session.low_priority_updates;
73
 
@@session.low_priority_updates
74
 
1
75
 
SET @@session.low_priority_updates = TRUE;
76
 
SELECT @@session.low_priority_updates;
77
 
@@session.low_priority_updates
78
 
1
79
 
SET @@session.low_priority_updates = FALSE;
80
 
SELECT @@session.low_priority_updates;
81
 
@@session.low_priority_updates
82
 
0
83
 
'#------------------FN_DYNVARS_069_05-----------------------#'
84
 
SET @@global.low_priority_updates = 'ONN';
85
 
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of 'ONN'
86
 
SET @@global.low_priority_updates = "OFFF";
87
 
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of 'OFFF'
88
 
SET @@global.low_priority_updates = TTRUE;
89
 
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of 'TTRUE'
90
 
SET @@global.low_priority_updates = FELSE;
91
 
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of 'FELSE'
92
 
SET @@global.low_priority_updates = -1024;
93
 
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of '-1024'
94
 
SET @@global.low_priority_updates = 65536;
95
 
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of '65536'
96
 
SET @@global.low_priority_updates = 65530.34;
97
 
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of '65530'
98
 
SET @@global.low_priority_updates = test;
99
 
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of 'test'
100
 
SET @@session.low_priority_updates = ONN;
101
 
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of 'ONN'
102
 
SET @@session.low_priority_updates = ONF;
103
 
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of 'ONF'
104
 
SET @@session.low_priority_updates = OF;
105
 
SELECT @@session.low_priority_updates;
106
 
@@session.low_priority_updates
107
 
0
108
 
'Bug# 34828: OF is also working as OFF and no error is coming';
109
 
SET @@session.low_priority_updates = 'OFN';
110
 
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of 'OFN'
111
 
SET @@session.low_priority_updates = -2;
112
 
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of '-2'
113
 
SET @@session.low_priority_updates = 65530.34.;
114
 
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
115
 
SET @@session.low_priority_updates = 65550;
116
 
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of '65550'
117
 
'Bug # 34837: Errors are not coming on assigning invalid values to variable';
118
 
SET @@session.low_priority_updates = test;
119
 
ERROR 42000: Variable 'low_priority_updates' can't be set to the value of 'test'
120
 
'#------------------FN_DYNVARS_069_06-----------------------#'
121
 
SELECT @@global.low_priority_updates = VARIABLE_VALUE 
122
 
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
123
 
WHERE VARIABLE_NAME='low_priority_updates';
124
 
@@global.low_priority_updates = VARIABLE_VALUE
125
 
1
126
 
'#------------------FN_DYNVARS_069_07-----------------------#'
127
 
SELECT @@session.low_priority_updates = VARIABLE_VALUE 
128
 
FROM INFORMATION_SCHEMA.SESSION_VARIABLES 
129
 
WHERE VARIABLE_NAME='low_priority_updates';
130
 
@@session.low_priority_updates = VARIABLE_VALUE
131
 
1
132
 
'#---------------------FN_DYNVARS_069_08----------------------#'
133
 
SET @@low_priority_updates = FALSE;
134
 
SET @@global.low_priority_updates = TRUE;
135
 
SELECT @@low_priority_updates = @@global.low_priority_updates;
136
 
@@low_priority_updates = @@global.low_priority_updates
137
 
0
138
 
'#---------------------FN_DYNVARS_069_09----------------------#'
139
 
SET @@low_priority_updates = ON;
140
 
SELECT @@low_priority_updates = @@local.low_priority_updates;
141
 
@@low_priority_updates = @@local.low_priority_updates
142
 
1
143
 
SELECT @@local.low_priority_updates = @@session.low_priority_updates;
144
 
@@local.low_priority_updates = @@session.low_priority_updates
145
 
1
146
 
'#---------------------FN_DYNVARS_069_10----------------------#'
147
 
SET low_priority_updates = 1;
148
 
SELECT @@low_priority_updates;
149
 
@@low_priority_updates
150
 
1
151
 
SELECT local.low_priority_updates;
152
 
ERROR 42S02: Unknown table 'local' in field list
153
 
SELECT session.low_priority_updates;
154
 
ERROR 42S02: Unknown table 'session' in field list
155
 
SELECT low_priority_updates = @@session.low_priority_updates;
156
 
ERROR 42S22: Unknown column 'low_priority_updates' in 'field list'
157
 
SET @@global.low_priority_updates = @start_global_value;
158
 
SELECT @@global.low_priority_updates;
159
 
@@global.low_priority_updates
160
 
0
161
 
SET @@session.low_priority_updates = @start_session_value;
162
 
SELECT @@session.low_priority_updates;
163
 
@@session.low_priority_updates
164
 
0