mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
use memcpy instead, other code breaks mysteriously on IRIX
This commit is contained in:
parent
656d21a7b8
commit
7e6e24a1cc
1 changed files with 6 additions and 3 deletions
|
@ -13411,8 +13411,11 @@ Dbacc::execREAD_PSUEDO_REQ(Signal* signal){
|
|||
default:
|
||||
tmp = 0;
|
||||
}
|
||||
Uint32 * src = (Uint32*)&tmp;
|
||||
signal->theData[0] = src[0];
|
||||
signal->theData[1] = src[1];
|
||||
memcpy(signal->theData, &tmp, 8); /* must be memcpy, gives strange results
|
||||
* on IRIX 64 otherwise
|
||||
*/
|
||||
// Uint32 * src = (Uint32*)&tmp;
|
||||
// signal->theData[0] = src[0];
|
||||
// signal->theData[1] = src[1];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue