|
|
@@ -37,3 +37,20 @@ Index: scripts/mysql_system_tables_data.sql
|
|
|
INSERT INTO db SELECT * FROM tmp_db WHERE @had_db_table=0;
|
|
|
DROP TABLE tmp_db;
|
|
|
|
|
|
+______________________________________________________________________________
|
|
|
+
|
|
|
+Dirty hack to make mysqlhotcopy work with recent versions of DBD/mysql,
|
|
|
+see http://bugs.mysql.com/bug.php?id=27303
|
|
|
+
|
|
|
+Index: scripts/mysqlhotcopy.sh
|
|
|
+--- scripts/mysqlhotcopy.sh.orig 2007-07-04 15:06:25 +0200
|
|
|
++++ scripts/mysqlhotcopy.sh 2007-11-13 00:02:56 +0100
|
|
|
+@@ -834,6 +834,8 @@
|
|
|
+
|
|
|
+ my @dbh_tables = eval { $dbh->tables() };
|
|
|
+
|
|
|
++ map { s/^.*?\.//o } @dbh_tables;
|
|
|
++
|
|
|
+ ## Remove quotes around table names
|
|
|
+ my $quote = $dbh->get_info(29); # SQL_IDENTIFIER_QUOTE_CHAR
|
|
|
+ if ($quote) {
|