Skip to content

Commit 0d65c81

Browse files
committed
Bug#25695818 DATA NODE BUS ERROR IF BUILT WITH ORACLE DEVELOPER STUDIO 12.5 ON SOLARIS SPARC
Make m_versionInfo aligned to 8 byte boundary within GlobalData. By that the compiler bug is avoided, at least in code path accessing m_versionInfo.
1 parent 6f44026 commit 0d65c81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage/ndb/src/kernel/vm/GlobalData.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
2+
Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
33
44
This program is free software; you can redistribute it and/or modify
55
it under the terms of the GNU General Public License as published by
@@ -45,8 +45,8 @@ struct GlobalData {
4545
Uint32 m_hb_count[MAX_NODES]; // hb counters
4646
NodeInfo m_nodeInfo[MAX_NODES]; // At top to ensure cache alignment
4747
Signal VMSignals[1]; // Owned by FastScheduler::
48-
Uint32 m_restart_seq; //
4948
NodeVersionInfo m_versionInfo;
49+
Uint32 m_restart_seq; //
5050

5151
NDB_TICKS internalTicksCounter; // Owned by ThreadConfig::
5252
Uint32 highestAvailablePrio; // Owned by FastScheduler::

0 commit comments

Comments
 (0)