Commit f05b70cf authored by mysqldev@mysql.com's avatar mysqldev@mysql.com

Solaris fixes

parent 73a3e555
......@@ -3,9 +3,11 @@
#define NDBGLOBAL_H
#include <my_global.h>
#define NDB_BASE_PORT 2200
/** signal & SIG_PIPE */
#include <my_alarm.h>
#if defined(_WIN32) || defined(_WIN64) || defined(__WIN32__) || defined(WIN32)
#define NDB_WIN32
#else
......
......@@ -15,8 +15,6 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <ndb_global.h>
#include <signal.h>
#include <BaseString.hpp>
#include <InputStream.hpp>
......
......@@ -15,7 +15,6 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <ndb_global.h> /* Needed for mkdir(2) */
#include <signal.h>
#include "CPCD.hpp"
#include "APIService.hpp"
......
......@@ -38,10 +38,6 @@
#include <sys/processor.h> // For system informatio
#endif
#if !defined NDB_SOFTOSE && !defined NDB_OSE
#include <signal.h> // For process signals
#endif
extern EventLogger g_eventLogger;
void catchsigs(bool ignore); // for process signal handling
......
......@@ -35,8 +35,6 @@
#include <NdbSleep.h>
#include <new>
#include <signal.h> // For process signals
extern "C" {
extern void (* ndb_new_handler)();
}
......
......@@ -24,8 +24,6 @@
#include "CommandInterpreter.hpp"
#include <signal.h>
const char *progname = "ndb_mgm";
......
......@@ -14,7 +14,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <string.h>
#include <ndb_global.h>
#include <ctype.h>
#include <uucode.h>
......
......@@ -699,8 +699,8 @@ NdbOperation::load_const_u64(Uint32 RegDest, Uint64 Constant)
setErrorCodeAbort(4229);
return -1;
}
tTemp1 = (Uint32)(Constant & 0xFFFFFFFF);
tTemp2 = (Uint32)(Constant >> 32);
tTemp1 = (Uint32)(Constant >> 32);
tTemp2 = (Uint32)(Constant & 0xFFFFFFFF);
// 64 bit value
if (insertATTRINFO( Interpreter::LoadConst64(RegDest)) == -1)
......
......@@ -34,10 +34,6 @@
#include <ndb_version.h>
#include <SignalLoggerManager.hpp>
#if !defined NDB_OSE && !defined NDB_SOFTOSE
#include <signal.h>
#endif
//#define REPORT_TRANSPORTER
//#define API_TRACE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment