Commit 5f8f1281 authored by unknown's avatar unknown

Merge mysqldev@bk-internal.mysql.com:/tmp/jonas/save

into mysql.com:/home/jonas/src/mysql-4.1

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