diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2009-02-11 03:37:44 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2009-02-11 03:37:44 -0800 |
commit | d06c902ff2b9a781bd3ab8d964e2d42ec8613695 (patch) | |
tree | 55ecdfa69e21558cff9ab4c4b9f722d9c0772959 | |
parent | Fix whitespace in testcase. (diff) | |
download | mysql-extras-20090211-1206Z.tar.gz mysql-extras-20090211-1206Z.tar.bz2 mysql-extras-20090211-1206Z.zip |
Gentoo bug 250880.mysql-extras-20090211-1206Z
-rw-r--r-- | 000_index.txt | 6 | ||||
-rw-r--r-- | 723_all_avoid_bus_error_5.0.76.patch | 28 |
2 files changed, 34 insertions, 0 deletions
diff --git a/000_index.txt b/000_index.txt index 2799ca8..f56d45d 100644 --- a/000_index.txt +++ b/000_index.txt @@ -471,3 +471,9 @@ @pn mysql @pn mysql-community @@ Do not crash on old grant tables when GRANT is called (Gentoo #229329, MySQL #16470) + +@patch 723_all_avoid_bus_error_5.0.76.patch +@ver 5.00.72.00 to 5.00.99.99 +@pn mysql +@pn mysql-community +@@ Prevent SIGBUS on Sparc with NDB diff --git a/723_all_avoid_bus_error_5.0.76.patch b/723_all_avoid_bus_error_5.0.76.patch new file mode 100644 index 0000000..c7651e5 --- /dev/null +++ b/723_all_avoid_bus_error_5.0.76.patch @@ -0,0 +1,28 @@ +memcpy ia64 fix causes problems for sparc. + +Signed-off-by: Friedrich Oslage <bluebird@gentoo.org> +X-Patch-URL: http://bugs.gentoo.org/attachment.cgi?id=175233&action=view +Gentoo-Bug: 250880 +Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=250880 + +--- ndb/src/kernel/blocks/dbacc/DbaccMain.cpp ++++ ndb/src/kernel/blocks/dbacc/DbaccMain.cpp +@@ -11667,12 +11667,15 @@ + default: + tmp = 0; + } ++#if !defined(__sparc__) + memcpy(signal->theData, &tmp, 8); /* must be memcpy, gives strange results on + * ithanium gcc (GCC) 3.4.1 smp linux 2.4 + * otherwise + */ +- // Uint32 * src = (Uint32*)&tmp; +- // signal->theData[0] = src[0]; +- // signal->theData[1] = src[1]; ++#elif ++ Uint32 * src = (Uint32*)&tmp; ++ signal->theData[0] = src[0]; ++ signal->theData[1] = src[1]; ++#endif + } + |