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

« back to all changes in this revision

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