List:Commits« Previous MessageNext Message »
From:Magnus Blåudd Date:February 21 2011 8:55am
Subject:bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:4205)
View as plain text  
#At file:///home/msvensson/mysql/7.0/ based on revid:magnus.blaudd@stripped

 4205 Magnus Blåudd	2011-02-21
      ndb - Mark up patch for bug54316 with MCP tags

    modified:
      client/mysqldump.c
=== modified file 'client/mysqldump.c'
--- a/client/mysqldump.c	2010-10-18 13:46:27 +0000
+++ b/client/mysqldump.c	2011-02-21 08:55:03 +0000
@@ -3872,6 +3872,8 @@ static int dump_tablespaces(char* ts_whe
   DBUG_RETURN(0);
 }
 
+
+#ifndef MCP_BUG54316
 static int
 is_ndbinfo(MYSQL* mysql, const char* dbname)
 {
@@ -3912,6 +3914,8 @@ is_ndbinfo(MYSQL* mysql, const char* dbn
 
   return 0;
 }
+#endif
+
 
 static int dump_all_databases()
 {
@@ -3927,8 +3931,10 @@ static int dump_all_databases()
         !my_strcasecmp(&my_charset_latin1, row[0], "information_schema"))
       continue;
 
+#ifndef MCP_BUG54316
     if (is_ndbinfo(mysql, row[0]))
       continue;
+#endif
 
     if (dump_all_tables_in_db(row[0]))
       result=1;
@@ -3948,8 +3954,10 @@ static int dump_all_databases()
           !my_strcasecmp(&my_charset_latin1, row[0], "information_schema"))
         continue;
 
+#ifndef MCP_BUG54316
     if (is_ndbinfo(mysql, row[0]))
       continue;
+#endif
 
       if (dump_all_views_in_db(row[0]))
         result=1;
@@ -4057,11 +4065,13 @@ int init_dumping_tables(char *qdatabase)
 
 static int init_dumping(char *database, int init_func(char*))
 {
+#ifndef MCP_BUG54316
   if (is_ndbinfo(mysql, database))
   {
     verbose_msg("-- Skipping dump of ndbinfo database\n");
     return 0;
   }
+#endif
 
   if (mysql_select_db(mysql, database))
   {

Attachment: [text/bzr-bundle] bzr/magnus.blaudd@oracle.com-20110221085503-1kh3oxil53jz6gwq.bundle
Thread
bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:4205) Magnus Blåudd21 Feb