23 lines
879 B
Diff
23 lines
879 B
Diff
This is a temporary workaround for what is surely a gcc bug on Sparc.
|
|
Submitted as bz #529299
|
|
|
|
|
|
diff -Naur mysql-5.1.39.orig/storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp mysql-5.1.39/storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp
|
|
--- mysql-5.1.39.orig/storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp 2009-09-04 12:21:16.000000000 -0400
|
|
+++ mysql-5.1.39/storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp 2009-10-15 22:19:07.000000000 -0400
|
|
@@ -8538,11 +8538,7 @@
|
|
default:
|
|
tmp = 0;
|
|
}
|
|
- 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];
|
|
+ Uint32 * src = (Uint32*)&tmp;
|
|
+ signal->theData[0] = src[0];
|
|
+ signal->theData[1] = src[1];
|
|
}
|