MySQL Lists are EOL. Please join:

List:Internals« Previous MessageNext Message »
From:Jim Winstead Date:November 11 2005 1:05am
Subject:bk commit into 5.0 tree (jimw:1.1964) BUG#14610
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of jimw. When jimw 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.1964 05/11/10 17:05:36 jimw@stripped +1 -0
  Don't try to mysqlhotcopy the INFORMATION_SCHEMA database. (Bug #14610)

  scripts/mysqlhotcopy.sh
    1.51 05/11/10 17:05:32 jimw@stripped +1 -0
    Skip INFORMATION_SCHEMA when matching database names against regex.

# 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:	jimw
# Host:	rama.(none)
# Root:	/home/jimw/my/mysql-5.0-14610

--- 1.50/scripts/mysqlhotcopy.sh	2005-06-06 19:17:13 -07:00
+++ 1.51/scripts/mysqlhotcopy.sh	2005-11-10 17:05:32 -08:00
@@ -252,6 +252,7 @@
     my $sth_dbs = $dbh->prepare("show databases");
     $sth_dbs->execute;
     while ( my ($db_name) = $sth_dbs->fetchrow_array ) {
+	next if $db_name =~ m/^information_schema$/i;
 	push @db_desc, { 'src' => $db_name, 't_regex' => $t_regex } if ( $db_name =~ m/$opt{regexp}/o );
     }
 }
Thread
bk commit into 5.0 tree (jimw:1.1964) BUG#14610Jim Winstead11 Nov