]> git.pld-linux.org Git - packages/mysql.git/commitdiff
fox for bug #62472 (mysqlhotcopy errors on databases containing MyISAM)
authorElan Ruusamäe <glen@delfi.ee>
Mon, 23 Jul 2012 08:19:01 +0000 (11:19 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 23 Jul 2012 08:19:01 +0000 (11:19 +0300)
bug-62472.patch [new file with mode: 0644]
mysql.spec

diff --git a/bug-62472.patch b/bug-62472.patch
new file mode 100644 (file)
index 0000000..1b391ac
--- /dev/null
@@ -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 $@;
index 779bc563b77dbb889ce1d80772b216a97b76f4ff..0477b0ddfd1ea00f9d3fa2cc2caed51dfc5f0823 100644 (file)
@@ -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
This page took 0.036376 seconds and 4 git commands to generate.