SOURCES: mysql-bug-14610.patch (NEW) - fix mysqlhotcopy treating I...
glen
glen at pld-linux.org
Sat Nov 12 18:55:14 CET 2005
Author: glen Date: Sat Nov 12 17:55:14 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix mysqlhotcopy treating INFORMATION_SCHEMA as database to backup
---- Files affected:
SOURCES:
mysql-bug-14610.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/mysql-bug-14610.patch
diff -u /dev/null SOURCES/mysql-bug-14610.patch:1.1
--- /dev/null Sat Nov 12 18:55:14 2005
+++ SOURCES/mysql-bug-14610.patch Sat Nov 12 18:55:09 2005
@@ -0,0 +1,10 @@
+--- 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 );
+ }
+ }
================================================================
More information about the pld-cvs-commit
mailing list