From: Date: April 24 2006 3:39pm Subject: bk commit into 5.1 tree (mskold:1.2347) BUG#17840 List-Archive: http://lists.mysql.com/commits/5403 X-Bug: 17840 Message-Id: <200604241339.k3ODdxGF001896@localhost.localdomain> Below is the list of changes that have just been committed into a local 5.1 repository of marty. When marty 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 1.2347 06/04/24 15:39:49 mskold@stripped +1 -0 Fix for Bug #17840 mysqldump should not dump tables in database cluster, skip cluster internal database client/mysqldump.c 1.233 06/04/24 15:38:45 mskold@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: mskold # Host: blowfish.ndb.mysql.com # Root: /usr/local/home/marty/MySQL/mysql-5.1-new --- 1.232/client/mysqldump.c 2006-03-10 20:37:32 +01:00 +++ 1.233/client/mysqldump.c 2006-04-24 15:38:45 +02:00 @@ -134,7 +134,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"; const char *compatible_mode_names[]= { "MYSQL323", "MYSQL40", "POSTGRESQL", "ORACLE", "MSSQL", "DB2", @@ -2937,6 +2937,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)