~ubuntu-branches/ubuntu/lucid/mysql-dfsg-5.1/lucid

« back to all changes in this revision

Viewing changes to mysql-test/r/mysqldump.result

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug, Mathias Gug
  • Date: 2009-08-05 11:40:21 UTC
  • mfrom: (1.1.3 upstream) (0.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20090805114021-59bj0bgfm2ufllbk
Tags: 5.1.37-1ubuntu1
[ Mathias Gug ]
* Merge from debian unstable and 5.0, remaining changes:
  - debian/control:
    + Properly upgrade libmysqlclient16-dev packages to
    libmysqlclient-dev:
      * Make libmysqlclient16-dev a transitional package depending on
        libmysqlclient-dev.
      * Make libmysqlclient-dev replace libmysqlclient16-dev.
    + Don't provide a libmysqlclient15-dev package as long as there are
      packages still build-depending on libmysqlclient15-dev and
      mysql-dsfg-5.0 is in the archive.
    + 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.
  - 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.1.files: install apparmor profile.
    - debian/mysql-server-5.1.dirs: add etc/apparmor.d/force-complain
    - debian/mysql-server-5.1.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.1.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.
* debian/libmysqlclient16.symbols.amd64: remove amd64 symbols as it has
  not been correctly generated in Debian.
* Add Apport hook: (LP: #354188)
  - debian/mysql-server-5.1.py: apport package hook.
  - debian/mysql-server-5.1.files, debian/rules: install apport package
    hook.
* debian/additions/my.cnf: 
  - drop old_password option.
  - fix commented logging options to use general_log and general_log_file.
* Dropped - accepted in Debian:
  - 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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3815
3815
 
3816
3816
 
3817
3817
-- Dump completed on DATE
3818
 
SET @@GLOBAL.CONCURRENT_INSERT = @OLD_CONCURRENT_INSERT;
3819
3818
#
3820
3819
# Bug #42635: mysqldump includes views that were excluded using 
3821
3820
#   the --ignore-table option
4227
4226
# -- End of test case for Bug#32538.
4228
4227
 
4229
4228
SET @@GLOBAL.CONCURRENT_INSERT = @OLD_CONCURRENT_INSERT;
 
4229
 
 
4230
Bug #34861 - mysqldump with --tab gives weird output for triggers.
 
4231
 
 
4232
CREATE TABLE t1 (f1 INT);
 
4233
CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW SET @f1 = 1;
 
4234
CREATE PROCEDURE pr1 () SELECT "Meow";
 
4235
CREATE EVENT ev1 ON SCHEDULE AT '2030-01-01 00:00:00' DO SELECT "Meow";
 
4236
 
 
4237
SHOW TRIGGERS;
 
4238
Trigger Event   Table   Statement       Timing  Created sql_mode        Definer character_set_client    collation_connection    Database Collation
 
4239
tr1     UPDATE  t1      SET @f1 = 1     BEFORE  NULL            root@localhost  latin1  latin1_swedish_ci       latin1_swedish_ci
 
4240
SHOW EVENTS;
 
4241
Db      Name    Definer Time zone       Type    Execute at      Interval value  Interval field  Starts  Ends    Status  Originator      character_set_client    collation_connection    Database Collation
 
4242
test    ev1     root@localhost  SYSTEM  ONE TIME        2030-01-01 00:00:00     NULL    NULL    NULL    NULL    ENABLED 1       latin1  latin1_swedish_ci       latin1_swedish_ci
 
4243
SELECT name,body FROM mysql.proc WHERE NAME = 'pr1';
 
4244
name    body
 
4245
pr1     SELECT "Meow"
 
4246
 
 
4247
dump table; if anything goes to stdout, it ends up here: ---------------
 
4248
 
 
4249
drop everything
 
4250
DROP EVENT ev1;
 
4251
DROP TRIGGER tr1;
 
4252
DROP TABLE t1;
 
4253
DROP PROCEDURE pr1;
 
4254
 
 
4255
reload table; this should restore table and trigger
 
4256
SHOW TRIGGERS;
 
4257
Trigger Event   Table   Statement       Timing  Created sql_mode        Definer character_set_client    collation_connection    Database Collation
 
4258
tr1     UPDATE  t1      SET @f1 = 1     BEFORE  NULL            root@localhost  latin1  latin1_swedish_ci       latin1_swedish_ci
 
4259
SHOW EVENTS;
 
4260
Db      Name    Definer Time zone       Type    Execute at      Interval value  Interval field  Starts  Ends    Status  Originator      character_set_client    collation_connection    Database Collation
 
4261
SELECT name,body FROM mysql.proc WHERE NAME = 'pr1';
 
4262
name    body
 
4263
 
 
4264
reload db; this should restore routines and events
 
4265
SHOW TRIGGERS;
 
4266
Trigger Event   Table   Statement       Timing  Created sql_mode        Definer character_set_client    collation_connection    Database Collation
 
4267
tr1     UPDATE  t1      SET @f1 = 1     BEFORE  NULL            root@localhost  latin1  latin1_swedish_ci       latin1_swedish_ci
 
4268
SHOW EVENTS;
 
4269
Db      Name    Definer Time zone       Type    Execute at      Interval value  Interval field  Starts  Ends    Status  Originator      character_set_client    collation_connection    Database Collation
 
4270
test    ev1     root@localhost  SYSTEM  ONE TIME        2030-01-01 00:00:00     NULL    NULL    NULL    NULL    ENABLED 1       latin1  latin1_swedish_ci       latin1_swedish_ci
 
4271
SELECT name,body FROM mysql.proc WHERE NAME = 'pr1';
 
4272
name    body
 
4273
pr1     SELECT "Meow"
 
4274
 
 
4275
cleanup
 
4276
DROP EVENT IF EXISTS ev1;
 
4277
DROP PROCEDURE IF EXISTS pr1;
 
4278
DROP TRIGGER IF EXISTS tr1;
 
4279
DROP TABLE IF EXISTS t1;
4230
4280
#
4231
4281
# End of 5.1 tests
4232
4282
#