Merge lp:~stewart/percona-server/bug959198 into lp:percona-server/5.5

Proposed by Stewart Smith
Status: Merged
Approved by: Laurynas Biveinis
Approved revision: no longer in the source branch.
Merged at revision: 359
Proposed branch: lp:~stewart/percona-server/bug959198
Merge into: lp:percona-server/5.5
Diff against target: 97 lines (+3/-70)
2 files modified
Percona-Server/mysql-test/r/mysqldump.result (+1/-69)
Percona-Server/mysql-test/t/mysqldump.test (+2/-1)
To merge this branch: bzr merge lp:~stewart/percona-server/bug959198
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Approve
Review via email: mp+136569@code.launchpad.net

Description of the change

To post a comment you must log in.
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Percona-Server/mysql-test/r/mysqldump.result'
2--- Percona-Server/mysql-test/r/mysqldump.result 2012-09-17 13:08:32 +0000
3+++ Percona-Server/mysql-test/r/mysqldump.result 2012-11-28 05:18:26 +0000
4@@ -5124,79 +5124,11 @@
5 -- Retrieving table structure for table t1...
6 -- Sending SELECT query...
7 -- Retrieving rows...
8---
9--- Host: localhost Database: b12809202_db
10--- ------------------------------------------------------
11-
12-/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
13-/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
14-/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
15-/*!40101 SET NAMES utf8 */;
16-/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
17-/*!40103 SET TIME_ZONE='+00:00' */;
18-/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
19-/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
20-/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
21-/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
22-
23---
24--- Table structure for table `t1`
25---
26-
27-DROP TABLE IF EXISTS `t1`;
28-/*!40101 SET @saved_cs_client = @@character_set_client */;
29-/*!40101 SET character_set_client = utf8 */;
30-CREATE TABLE `t1` (
31- `c1` int(11) DEFAULT NULL
32-) ENGINE=MyISAM DEFAULT CHARSET=latin1;
33-/*!40101 SET character_set_client = @saved_cs_client */;
34-
35---
36--- Dumping data for table `t1`
37---
38-
39-LOCK TABLES `t1` WRITE;
40-/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
41-INSERT INTO `t1` VALUES (1),(2),(3);
42 -- Retrieving table structure for table t2...
43 -- Sending SELECT query...
44 -- Retrieving rows...
45-/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
46-UNLOCK TABLES;
47-
48---
49--- Table structure for table `t2`
50---
51-
52-DROP TABLE IF EXISTS `t2`;
53-/*!40101 SET @saved_cs_client = @@character_set_client */;
54-/*!40101 SET character_set_client = utf8 */;
55-CREATE TABLE `t2` (
56- `c1` int(11) DEFAULT NULL
57-) ENGINE=MyISAM DEFAULT CHARSET=latin1;
58-/*!40101 SET character_set_client = @saved_cs_client */;
59-
60---
61--- Dumping data for table `t2`
62---
63-
64-LOCK TABLES `t2` WRITE;
65-/*!40000 ALTER TABLE `t2` DISABLE KEYS */;
66-INSERT INTO `t2` VALUES (1),(2),(3);
67-/*!40000 ALTER TABLE `t2` ENABLE KEYS */;
68-UNLOCK TABLES;
69 -- Disconnecting from localhost...
70-/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
71-
72-/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
73-/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
74-/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
75-/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
76-/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
77-/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
78-/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
79-
80--- Dump completed
81+
82 #### Dump ends here ####
83 DROP TABLE b12809202_db.t1;
84 DROP TABLE b12809202_db.t2;
85
86=== modified file 'Percona-Server/mysql-test/t/mysqldump.test'
87--- Percona-Server/mysql-test/t/mysqldump.test 2012-05-09 14:08:44 +0000
88+++ Percona-Server/mysql-test/t/mysqldump.test 2012-11-28 05:18:26 +0000
89@@ -2351,7 +2351,8 @@
90 --echo
91 --echo #### Dump starts here ####
92 --replace_regex /-- Server version.*// /-- MySQL dump .*// /-- Dump completed on .*/-- Dump completed/
93---exec $MYSQL_DUMP --verbose --single-transaction --flush-log b12809202_db 2>&1
94+--exec $MYSQL_DUMP --verbose --single-transaction --flush-log b12809202_db --result-file $MYSQLTEST_VARDIR/tmp/stfl.sql 2>&1
95+--remove_file $MYSQLTEST_VARDIR/tmp/stfl.sql
96 --echo
97 --echo #### Dump ends here ####
98

Subscribers

People subscribed via source and target branches