[packages/mysql] fox for bug #62472 (mysqlhotcopy errors on databases containing MyISAM)
glen
glen at pld-linux.org
Mon Jul 23 10:19:21 CEST 2012
commit 52c09715608dc0a637eaa9d593a338d160df6e0a
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Jul 23 11:19:01 2012 +0300
fox for bug #62472 (mysqlhotcopy errors on databases containing MyISAM)
bug-62472.patch | 13 +++++++++++++
mysql.spec | 2 ++
2 files changed, 15 insertions(+)
---
diff --git a/bug-62472.patch b/bug-62472.patch
new file mode 100644
index 0000000..1b391ac
--- /dev/null
+++ b/bug-62472.patch
@@ -0,0 +1,13 @@
+--- Percona-Server-5.5.24-rel26.0/scripts/mysqlhotcopy.sh~ 2012-04-27 16:02:58.000000000 +0300
++++ Percona-Server-5.5.24-rel26.0/scripts/mysqlhotcopy.sh 2012-07-20 15:04:53.541258700 +0300
+@@ -802,8 +802,8 @@
+
+ my $tables =
+ eval {
+- $dbh->selectall_arrayref('SHOW TABLES FROM ' .
+- $dbh->quote_identifier($db))
++ $dbh->selectall_arrayref('SHOW FULL TABLES FROM ' .
++ $dbh->quote_identifier($db) . 'WHERE Table_type = "BASE TABLE"')
+ } || [];
+ warn "Unable to retrieve list of tables in $db: $@" if $@;
+
diff --git a/mysql.spec b/mysql.spec
index 779bc56..0477b0d 100644
--- a/mysql.spec
+++ b/mysql.spec
@@ -64,6 +64,7 @@ Source14: my.cnf
Source15: lib%{name}.version
Patch2: %{name}-c++.patch
Patch3: %{name}-info.patch
+Patch4: bug-62472.patch
# from fedora
Patch5: %{name}-versioning.patch
Patch6: %{name}-system-users.patch
@@ -498,6 +499,7 @@ mv sphinx-*/mysqlse storage/sphinx
#%patch2 -p1 # NEEDS CHECK, which exact program needs -lc++
# obsolete, no more docs?
#%patch3 -p1
+%patch4 -p1
%patch5 -p1
%patch6 -p1
# make sure mysqldump still works with 4.0
More information about the pld-cvs-commit
mailing list