~ubuntu-branches/ubuntu/quantal/mysql-5.5/quantal-security

« back to all changes in this revision

Viewing changes to mysql-test/t/mysqldump.test

  • Committer: Package Import Robot
  • Author(s): Seth Arnold
  • Date: 2013-04-18 18:15:39 UTC
  • mfrom: (1.1.12)
  • Revision ID: package-import@ubuntu.com-20130418181539-7uo1w041b4h2ulbs
Tags: 5.5.31-0ubuntu0.12.10.1
* SECURITY UPDATE: Update to 5.5.31 to fix security issues (LP: #1170516)
  - http://www.oracle.com/technetwork/topics/security/cpuapr2013-1899555.html
* debian/patches/71_disable_rpl_tests.patch: refreshed.
* debian/patches/fix-mysqldump-test.patch: removed, fixed differently
  upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
2347
2347
--echo # Note : In the following dump the transaction
2348
2348
--echo #        should start only after the logs are
2349
2349
--echo #        flushed, as 'flush logs' causes implicit
2350
 
--echo #        commit starting 5.5.
 
2350
--echo #        commit starting 5.5.Also, as stderr is
 
2351
--echo #        unbuffered, it is redirected to a different
 
2352
--echo #        file to avoid diffs due to bad stdout/stderr
 
2353
--echo #        order in the output.
2351
2354
--echo
2352
2355
--echo #### Dump starts here ####
2353
2356
--replace_regex /-- Server version.*// /-- MySQL dump .*// /-- Dump completed on .*/-- Dump completed/
2354
 
--exec $MYSQL_DUMP --single-transaction --flush-log b12809202_db 2>&1
 
2357
--exec $MYSQL_DUMP --verbose --single-transaction --flush-log b12809202_db 2>$MYSQLTEST_VARDIR/tmp/b12809202_stderr.sql
 
2358
--echo
 
2359
--echo ## stderr ##
 
2360
--cat_file $MYSQLTEST_VARDIR/tmp/b12809202_stderr.sql
2355
2361
--echo
2356
2362
--echo #### Dump ends here ####
2357
2363
 
2359
2365
DROP TABLE b12809202_db.t1;
2360
2366
DROP TABLE b12809202_db.t2;
2361
2367
DROP DATABASE b12809202_db;
 
2368
--remove_file $MYSQLTEST_VARDIR/tmp/b12809202_stderr.sql
2362
2369
 
2363
2370
--echo #
2364
2371
--echo # Delete all existing binary logs.