MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:jonas Date:August 31 2006 9:41am
Subject:bk commit into 5.1 tree (jonas:1.2039) BUG#17840
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of jonas. When jonas does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2006-08-31 11:41:34+02:00, jonas@stripped +1 -0
  Fix for Bug #17840  mysqldump should not dump tables in database cluster, skip cluster
  internal database

  client/mysqldump.c@stripped, 2006-08-31 11:41:32+02:00, jonas@stripped +3 -1
    Fix for Bug #17840  mysqldump should not dump tables in database , skip cluster
    internal database
    

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	jonas
# Host:	perch.ndb.mysql.com
# Root:	/home/jonas/src/mysql-5.1-wl2325-5.0

--- 1.206/client/mysqldump.c	2006-08-31 11:41:37 +02:00
+++ 1.207/client/mysqldump.c	2006-08-31 11:41:37 +02:00
@@ -129,7 +129,7 @@
 const char *default_dbug_option="d:t:o,/tmp/mysqldump.trace";
 /* do we met VIEWs during tables scaning */
 my_bool was_views= 0;
-
+const char * cluster_db="cluster_replication";
 const char *compatible_mode_names[]=
 {
   "MYSQL323", "MYSQL40", "POSTGRESQL", "ORACLE", "MSSQL", "DB2",
@@ -2502,6 +2502,8 @@
   afterdot= strmov(hash_key, database);
   *afterdot++= '.';
 
+  if (!strcmp(database, cluster_db)) /* Skip cluster internal database */
+    return 0;
   if (init_dumping(database))
     return 1;
   if (opt_xml)
Thread
bk commit into 5.1 tree (jonas:1.2039) BUG#17840jonas31 Aug