mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
more removing of "system" files and introducing ndb_global/my_global
BitKeeper/deleted/.del-NdbStdio.h~17be17a4f591c671: Delete: ndb/include/portlib/NdbStdio.h BitKeeper/deleted/.del-NdbString.h~1f9f26341ce5f5f: Delete: ndb/include/util/NdbString.h BitKeeper/deleted/.del-NdbConstant.hpp~de1038c1758cc1f9: Delete: ndb/include/portlib/NdbConstant.hpp BitKeeper/deleted/.del-NdbUnistd.h~a1b3840adcd49985: Delete: ndb/include/portlib/NdbUnistd.h
This commit is contained in:
@ -63,20 +63,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include <ndb_global.h>
|
||||||
|
|
||||||
#include <NdbApi.hpp>
|
#include <NdbApi.hpp>
|
||||||
#include <NdbScanFilter.hpp>
|
#include <NdbScanFilter.hpp>
|
||||||
#include <iostream> // Used for cout
|
#include <iostream> // Used for cout
|
||||||
|
|
||||||
#ifdef SOLARIS
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined LINUX || defined MACOSX
|
|
||||||
#include <time.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Helper sleep function
|
* Helper sleep function
|
||||||
*/
|
*/
|
||||||
|
@ -85,21 +85,13 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include <ndb_global.h>
|
||||||
|
|
||||||
#include <NdbApi.hpp>
|
#include <NdbApi.hpp>
|
||||||
#include <NdbScanFilter.hpp>
|
#include <NdbScanFilter.hpp>
|
||||||
// Used for cout
|
// Used for cout
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#ifdef SOLARIS
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined LINUX || defined MACOSX
|
|
||||||
#include <time.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Helper sleep function
|
* Helper sleep function
|
||||||
*/
|
*/
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
#define SignalLoggerManager_H
|
#define SignalLoggerManager_H
|
||||||
|
|
||||||
|
|
||||||
#include <NdbStdio.h>
|
|
||||||
#include <kernel_types.h>
|
#include <kernel_types.h>
|
||||||
#include <BlockNumbers.h>
|
#include <BlockNumbers.h>
|
||||||
#include <TransporterDefinitions.hpp>
|
#include <TransporterDefinitions.hpp>
|
||||||
|
@ -17,8 +17,7 @@
|
|||||||
#ifndef _LOG_LEVEL_HPP
|
#ifndef _LOG_LEVEL_HPP
|
||||||
#define _LOG_LEVEL_HPP
|
#define _LOG_LEVEL_HPP
|
||||||
|
|
||||||
#include <ndb_types.h>
|
#include <ndb_global.h>
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
#include "SignalData.hpp"
|
#include "SignalData.hpp"
|
||||||
#include <NodeBitmask.hpp>
|
#include <NodeBitmask.hpp>
|
||||||
#include <NdbString.h>
|
|
||||||
#include <signaldata/DictTabInfo.hpp>
|
#include <signaldata/DictTabInfo.hpp>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
#include <ndb_global.h>
|
#include <ndb_global.h>
|
||||||
#include <ndb_limits.h>
|
#include <ndb_limits.h>
|
||||||
#include <kernel_types.h>
|
#include <kernel_types.h>
|
||||||
#include <NdbConstant.hpp>
|
|
||||||
|
|
||||||
#ifndef NDB_ASSERT
|
#ifndef NDB_ASSERT
|
||||||
#ifdef VM_TRACE
|
#ifdef VM_TRACE
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
#ifndef SIGNAL_DATA_PRINT_H
|
#ifndef SIGNAL_DATA_PRINT_H
|
||||||
#define SIGNAL_DATA_PRINT_H
|
#define SIGNAL_DATA_PRINT_H
|
||||||
|
|
||||||
|
#include <ndb_global.h>
|
||||||
#include <kernel_types.h>
|
#include <kernel_types.h>
|
||||||
#include <NdbStdio.h>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Typedef for a Signal Data Print Function
|
* Typedef for a Signal Data Print Function
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
#include "Logger.hpp"
|
#include "Logger.hpp"
|
||||||
|
|
||||||
#include <NdbStdio.h> // Defines NULL
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class is the base class for all log handlers. A log handler is
|
* This class is the base class for all log handlers. A log handler is
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
#ifndef Logger_H
|
#ifndef Logger_H
|
||||||
#define Logger_H
|
#define Logger_H
|
||||||
|
|
||||||
|
#include <ndb_global.h>
|
||||||
#include <BaseString.hpp>
|
#include <BaseString.hpp>
|
||||||
#include <stdarg.h>
|
|
||||||
|
|
||||||
class LogHandler;
|
class LogHandler;
|
||||||
class LogHandlerList;
|
class LogHandlerList;
|
||||||
|
@ -1,6 +1,72 @@
|
|||||||
|
|
||||||
|
#ifndef NDBGLOBAL_H
|
||||||
|
#define NDBGLOBAL_H
|
||||||
|
|
||||||
#include <my_global.h>
|
#include <my_global.h>
|
||||||
#include <m_string.h>
|
#include <m_string.h>
|
||||||
#include <m_ctype.h>
|
#include <m_ctype.h>
|
||||||
#include <ndb_types.h>
|
#include <ndb_types.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#include <stdarg.h>
|
||||||
|
#include <time.h>
|
||||||
|
#include <fcntl.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
|
||||||
|
#ifndef NDB_MACOSX
|
||||||
|
#include <sys/mman.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef NDB_WIN32
|
||||||
|
#include <winsock2.h>
|
||||||
|
#include <ws2tcpip.h>
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
|
#define DIR_SEPARATOR "\\"
|
||||||
|
#define PATH_MAX 256
|
||||||
|
|
||||||
|
#pragma warning(disable: 4503 4786)
|
||||||
|
#else
|
||||||
|
|
||||||
|
#define DIR_SEPARATOR "/"
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef NDB_VC98
|
||||||
|
#define STATIC_CONST(x) enum { x }
|
||||||
|
#else
|
||||||
|
#define STATIC_CONST(x) static const Uint32 x
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
#include <new>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <assert.h>
|
||||||
|
|
||||||
|
#ifndef HAVE_STRDUP
|
||||||
|
extern char * strdup(const char *s);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_STRLCPY
|
||||||
|
extern size_t strlcpy (char *dst, const char *src, size_t dst_sz);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_STRLCAT
|
||||||
|
extern size_t strlcat (char *dst, const char *src, size_t dst_sz);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_STRCASECMP
|
||||||
|
extern int strcasecmp(const char *s1, const char *s2);
|
||||||
|
extern int strncasecmp(const char *s1, const char *s2, size_t n);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@ -21,11 +21,6 @@
|
|||||||
#ifndef SYS_TYPES_H
|
#ifndef SYS_TYPES_H
|
||||||
#define SYS_TYPES_H
|
#define SYS_TYPES_H
|
||||||
|
|
||||||
#if 0
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <stddef.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef char Int8;
|
typedef char Int8;
|
||||||
typedef unsigned char Uint8;
|
typedef unsigned char Uint8;
|
||||||
typedef short Int16;
|
typedef short Int16;
|
||||||
|
@ -17,8 +17,7 @@
|
|||||||
#ifndef PCN_TYPES_H
|
#ifndef PCN_TYPES_H
|
||||||
#define PCN_TYPES_H
|
#define PCN_TYPES_H
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <ndb_global.h>
|
||||||
#include <NdbUnistd.h>
|
|
||||||
|
|
||||||
#ifdef NDB_MACOSX
|
#ifdef NDB_MACOSX
|
||||||
typedef unsigned int Size_t;
|
typedef unsigned int Size_t;
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
/* Copyright (C) 2003 MySQL AB
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
|
||||||
|
|
||||||
#ifndef NDB_CONSTANT_HPP
|
|
||||||
#define NDB_CONSTANT_HPP
|
|
||||||
|
|
||||||
#include <ndb_types.h>
|
|
||||||
|
|
||||||
#ifdef NDB_VC98
|
|
||||||
#define STATIC_CONST(x) enum { x }
|
|
||||||
#else
|
|
||||||
#define STATIC_CONST(x) static const Uint32 x
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
@ -17,8 +17,7 @@
|
|||||||
#ifndef NDB_MEM_H
|
#ifndef NDB_MEM_H
|
||||||
#define NDB_MEM_H
|
#define NDB_MEM_H
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <ndb_global.h>
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -1,36 +0,0 @@
|
|||||||
/* Copyright (C) 2003 MySQL AB
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* NdbStdio.h - stdio.h for ndb
|
|
||||||
*
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
#if defined NDB_OSE || defined NDB_SOFTOSE
|
|
||||||
/* On OSE Delta the snprintf is declare in outfmt.h */
|
|
||||||
#include <outfmt.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <ndb_global.h>
|
|
||||||
|
|
||||||
#ifdef NDB_WIN32
|
|
||||||
#define snprintf _snprintf
|
|
||||||
#define vsnprintf _vsnprintf
|
|
||||||
#define strtok_r(s1, s2, l) strtok(s1, s2)
|
|
||||||
#endif
|
|
||||||
|
|
@ -17,6 +17,8 @@
|
|||||||
#ifndef NDB_TCP_H
|
#ifndef NDB_TCP_H
|
||||||
#define NDB_TCP_H
|
#define NDB_TCP_H
|
||||||
|
|
||||||
|
#include <ndb_global.h>
|
||||||
|
|
||||||
#if defined NDB_OSE || defined NDB_SOFTOSE
|
#if defined NDB_OSE || defined NDB_SOFTOSE
|
||||||
/**
|
/**
|
||||||
* Include files needed
|
* Include files needed
|
||||||
@ -24,7 +26,6 @@
|
|||||||
#include "inet.h"
|
#include "inet.h"
|
||||||
|
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <errno.h>
|
|
||||||
|
|
||||||
#define NDB_NONBLOCK FNDELAY
|
#define NDB_NONBLOCK FNDELAY
|
||||||
#define NDB_SOCKET_TYPE int
|
#define NDB_SOCKET_TYPE int
|
||||||
@ -40,20 +41,15 @@ typedef int socklen_t;
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined NDB_SOLARIS || defined NDB_HPUX || defined NDB_IBMAIX || defined NDB_TRU64X
|
#if defined NDB_SOLARIS || defined NDB_HPUX || defined NDB_IBMAIX || defined NDB_TRU64X || NDB_LINUX || defined NDB_MACOSX
|
||||||
/**
|
/**
|
||||||
* Include files needed
|
* Include files needed
|
||||||
*/
|
*/
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <netinet/tcp.h>
|
#include <netinet/tcp.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <unistd.h>
|
|
||||||
|
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <errno.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
|
|
||||||
#define NDB_NONBLOCK O_NONBLOCK
|
#define NDB_NONBLOCK O_NONBLOCK
|
||||||
#define NDB_SOCKET_TYPE int
|
#define NDB_SOCKET_TYPE int
|
||||||
@ -64,39 +60,12 @@ typedef int socklen_t;
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined NDB_LINUX || defined NDB_MACOSX
|
|
||||||
/**
|
|
||||||
* Include files needed
|
|
||||||
*/
|
|
||||||
#include <sys/time.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#include <netinet/in.h>
|
|
||||||
#include <netinet/tcp.h>
|
|
||||||
#include <arpa/inet.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
|
|
||||||
#include <netdb.h>
|
|
||||||
#include <errno.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
|
|
||||||
#define NDB_NONBLOCK O_NONBLOCK
|
|
||||||
#define NDB_SOCKET_TYPE int
|
|
||||||
#define NDB_INVALID_SOCKET -1
|
|
||||||
#define NDB_CLOSE_SOCKET(x) close(x)
|
|
||||||
|
|
||||||
#define InetErrno errno
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef NDB_WIN32
|
#ifdef NDB_WIN32
|
||||||
/**
|
/**
|
||||||
* Include files needed
|
* Include files needed
|
||||||
*/
|
*/
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#include <ws2tcpip.h>
|
#include <ws2tcpip.h>
|
||||||
#include <errno.h>
|
|
||||||
|
|
||||||
#define InetErrno WSAGetLastError()
|
#define InetErrno WSAGetLastError()
|
||||||
#define EWOULDBLOCK WSAEWOULDBLOCK
|
#define EWOULDBLOCK WSAEWOULDBLOCK
|
||||||
|
@ -1,39 +0,0 @@
|
|||||||
/* Copyright (C) 2003 MySQL AB
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
|
||||||
|
|
||||||
#ifndef NDB_UNISTD_H
|
|
||||||
#define NDB_UNISTD_H
|
|
||||||
|
|
||||||
#ifdef NDB_WIN32
|
|
||||||
#include <winsock2.h>
|
|
||||||
#include <ws2tcpip.h>
|
|
||||||
#include <windows.h>
|
|
||||||
#include <limits.h>
|
|
||||||
|
|
||||||
#define DIR_SEPARATOR "\\"
|
|
||||||
#define PATH_MAX 256
|
|
||||||
|
|
||||||
#pragma warning(disable: 4503 4786)
|
|
||||||
|
|
||||||
#else
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <limits.h>
|
|
||||||
|
|
||||||
#define DIR_SEPARATOR "/"
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
@ -18,7 +18,6 @@
|
|||||||
#define NDB_BITMASK_H
|
#define NDB_BITMASK_H
|
||||||
|
|
||||||
#include <ndb_global.h>
|
#include <ndb_global.h>
|
||||||
#include <NdbConstant.hpp>
|
|
||||||
|
|
||||||
#ifndef NDB_ASSERT
|
#ifndef NDB_ASSERT
|
||||||
#define NDB_ASSERT(x, s) \
|
#define NDB_ASSERT(x, s) \
|
||||||
|
@ -17,8 +17,7 @@
|
|||||||
#ifndef FILE_H
|
#ifndef FILE_H
|
||||||
#define FILE_H
|
#define FILE_H
|
||||||
|
|
||||||
#include <NdbStdio.h>
|
#include <ndb_global.h>
|
||||||
#include <NdbConstant.hpp>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class provides a file abstraction . It has operations
|
* This class provides a file abstraction . It has operations
|
||||||
|
@ -1,49 +0,0 @@
|
|||||||
/* Copyright (C) 2003 MySQL AB
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
|
||||||
|
|
||||||
#ifndef __NDBSTRING_H_INCLUDED__
|
|
||||||
#define __NDBSTRING_H_INCLUDED__
|
|
||||||
|
|
||||||
#include <ndb_global.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef HAVE_STRDUP
|
|
||||||
extern char * strdup(const char *s);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef HAVE_STRLCPY
|
|
||||||
extern size_t strlcpy (char *dst, const char *src, size_t dst_sz);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef HAVE_STRLCAT
|
|
||||||
extern size_t strlcat (char *dst, const char *src, size_t dst_sz);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef HAVE_STRCASECMP
|
|
||||||
extern int strcasecmp(const char *s1, const char *s2);
|
|
||||||
extern int strncasecmp(const char *s1, const char *s2, size_t n);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* !__NDBSTRING_H_INCLUDED__ */
|
|
@ -17,8 +17,7 @@
|
|||||||
#ifndef SIMPLE_PROPERTIES_HPP
|
#ifndef SIMPLE_PROPERTIES_HPP
|
||||||
#define SIMPLE_PROPERTIES_HPP
|
#define SIMPLE_PROPERTIES_HPP
|
||||||
|
|
||||||
#include <ndb_types.h>
|
#include <ndb_global.h>
|
||||||
#include <stddef.h> // offsetof
|
|
||||||
#include <NdbOut.hpp>
|
#include <NdbOut.hpp>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -52,7 +52,7 @@
|
|||||||
#ifndef __GETARG_H__
|
#ifndef __GETARG_H__
|
||||||
#define __GETARG_H__
|
#define __GETARG_H__
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <ndb_global.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -17,8 +17,9 @@
|
|||||||
#ifndef _SOCKET_IO_H
|
#ifndef _SOCKET_IO_H
|
||||||
#define _SOCKET_IO_H
|
#define _SOCKET_IO_H
|
||||||
|
|
||||||
|
#include <ndb_global.h>
|
||||||
|
|
||||||
#include <NdbTCP.h>
|
#include <NdbTCP.h>
|
||||||
#include <stdarg.h>
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -14,11 +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 <NdbUnistd.h>
|
#include <ndb_global.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <NdbStdio.h>
|
|
||||||
#include <stdarg.h>
|
|
||||||
#include <NdbApi.hpp>
|
#include <NdbApi.hpp>
|
||||||
#include <common/common.hpp>
|
#include <common/common.hpp>
|
||||||
#include "DiagArea.hpp"
|
#include "DiagArea.hpp"
|
||||||
|
@ -14,14 +14,8 @@
|
|||||||
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 <NdbUnistd.h>
|
#include <ndb_global.h>
|
||||||
#include <NdbStdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <errno.h>
|
|
||||||
#include <limits.h>
|
|
||||||
#include <math.h>
|
|
||||||
#include "DataField.hpp"
|
#include "DataField.hpp"
|
||||||
#include <time.h>
|
|
||||||
|
|
||||||
#ifndef INT_MAX
|
#ifndef INT_MAX
|
||||||
#define INT_MAX (2147483647)
|
#define INT_MAX (2147483647)
|
||||||
|
@ -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 "DataType.hpp"
|
#include "DataType.hpp"
|
||||||
#include <NdbStdio.h>
|
|
||||||
|
|
||||||
// SqlType
|
// SqlType
|
||||||
|
|
||||||
|
@ -14,9 +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 <new>
|
#include <ndb_global.h>
|
||||||
#include <string.h>
|
|
||||||
#include <NdbStdio.h>
|
|
||||||
#include "OdbcData.hpp"
|
#include "OdbcData.hpp"
|
||||||
|
|
||||||
OdbcData::OdbcData() :
|
OdbcData::OdbcData() :
|
||||||
|
@ -14,6 +14,8 @@
|
|||||||
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 <ndb_global.h>
|
||||||
|
|
||||||
#include "EventLogger.hpp"
|
#include "EventLogger.hpp"
|
||||||
|
|
||||||
#include <NdbConfig.h>
|
#include <NdbConfig.h>
|
||||||
@ -22,10 +24,6 @@
|
|||||||
#include <GrepEvent.hpp>
|
#include <GrepEvent.hpp>
|
||||||
#include <NodeState.hpp>
|
#include <NodeState.hpp>
|
||||||
#include <version.h>
|
#include <version.h>
|
||||||
#include <NdbStdio.h>
|
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// PUBLIC
|
// PUBLIC
|
||||||
|
@ -19,9 +19,6 @@
|
|||||||
#include "SignalLoggerManager.hpp"
|
#include "SignalLoggerManager.hpp"
|
||||||
#include <LongSignal.hpp>
|
#include <LongSignal.hpp>
|
||||||
|
|
||||||
#include <assert.h>
|
|
||||||
#include <time.h>
|
|
||||||
|
|
||||||
#include <DebuggerNames.hpp>
|
#include <DebuggerNames.hpp>
|
||||||
|
|
||||||
SignalLoggerManager::SignalLoggerManager()
|
SignalLoggerManager::SignalLoggerManager()
|
||||||
|
@ -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 <NdbStdio.h>
|
|
||||||
#include <kernel_types.h>
|
#include <kernel_types.h>
|
||||||
#include <BlockNumbers.h>
|
#include <BlockNumbers.h>
|
||||||
#include <signaldata/CloseComReqConf.hpp>
|
#include <signaldata/CloseComReqConf.hpp>
|
||||||
|
@ -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 <NdbStdio.h>
|
|
||||||
#include <kernel_types.h>
|
#include <kernel_types.h>
|
||||||
#include <BlockNumbers.h>
|
#include <BlockNumbers.h>
|
||||||
#include <signaldata/DihContinueB.hpp>
|
#include <signaldata/DihContinueB.hpp>
|
||||||
|
@ -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 <NdbStdio.h>
|
|
||||||
#include <kernel_types.h>
|
#include <kernel_types.h>
|
||||||
#include <BlockNumbers.h>
|
#include <BlockNumbers.h>
|
||||||
#include <signaldata/PrepFailReqRef.hpp>
|
#include <signaldata/PrepFailReqRef.hpp>
|
||||||
|
@ -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 <NdbStdio.h>
|
|
||||||
#include <kernel_types.h>
|
#include <kernel_types.h>
|
||||||
#include <BlockNumbers.h>
|
#include <BlockNumbers.h>
|
||||||
#include <signaldata/SystemError.hpp>
|
#include <signaldata/SystemError.hpp>
|
||||||
|
@ -18,12 +18,6 @@
|
|||||||
|
|
||||||
#include <File.hpp>
|
#include <File.hpp>
|
||||||
|
|
||||||
#include <NdbStdio.h>
|
|
||||||
#include <sys/param.h>
|
|
||||||
|
|
||||||
#include <errno.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// PUBLIC
|
// PUBLIC
|
||||||
//
|
//
|
||||||
|
@ -17,9 +17,6 @@
|
|||||||
#include "LogHandler.hpp"
|
#include "LogHandler.hpp"
|
||||||
|
|
||||||
#include <NdbTick.h>
|
#include <NdbTick.h>
|
||||||
#include <NdbString.h>
|
|
||||||
|
|
||||||
#include <time.h>
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// PUBLIC
|
// PUBLIC
|
||||||
|
@ -17,8 +17,6 @@
|
|||||||
#include "LogHandlerList.hpp"
|
#include "LogHandlerList.hpp"
|
||||||
|
|
||||||
#include <LogHandler.hpp>
|
#include <LogHandler.hpp>
|
||||||
#include <NdbStdio.h>
|
|
||||||
#include <ndb_types.h>
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// PUBLIC
|
// PUBLIC
|
||||||
|
@ -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 <stdarg.h>
|
#include <ndb_global.h>
|
||||||
|
|
||||||
#include "Logger.hpp"
|
#include "Logger.hpp"
|
||||||
|
|
||||||
@ -27,12 +27,6 @@
|
|||||||
#include <SysLogHandler.hpp>
|
#include <SysLogHandler.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <NdbStdio.h>
|
|
||||||
#include <ndb_types.h>
|
|
||||||
#include <NdbString.h>
|
|
||||||
|
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// PUBLIC
|
// PUBLIC
|
||||||
//
|
//
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
#include "SysLogHandler.hpp"
|
#include "SysLogHandler.hpp"
|
||||||
|
|
||||||
#include <syslog.h>
|
#include <syslog.h>
|
||||||
#include <NdbString.h>
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// PUBLIC
|
// PUBLIC
|
||||||
|
@ -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>
|
#include <ndb_global.h>
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
#include "LogHandlerListUnitTest.hpp"
|
#include "LogHandlerListUnitTest.hpp"
|
||||||
|
|
||||||
|
@ -25,12 +25,8 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <NdbOut.hpp>
|
#include <NdbOut.hpp>
|
||||||
#include <NdbStdio.h>
|
|
||||||
#include <NdbMain.h>
|
#include <NdbMain.h>
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
typedef bool (*TESTFUNC)(const char*);
|
typedef bool (*TESTFUNC)(const char*);
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
@ -23,9 +23,7 @@
|
|||||||
#include <kernel_types.h>
|
#include <kernel_types.h>
|
||||||
|
|
||||||
#include <NdbOut.hpp>
|
#include <NdbOut.hpp>
|
||||||
#include <NdbStdio.h>
|
|
||||||
#include <ndb_limits.h>
|
#include <ndb_limits.h>
|
||||||
#include <NdbConstant.hpp>
|
|
||||||
#include <Properties.hpp>
|
#include <Properties.hpp>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -14,16 +14,13 @@
|
|||||||
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 <ndb_global.h>
|
||||||
|
|
||||||
#include "InitConfigFileParser.hpp"
|
#include "InitConfigFileParser.hpp"
|
||||||
#include <string.h>
|
|
||||||
#include <errno.h>
|
|
||||||
#include "Config.hpp"
|
#include "Config.hpp"
|
||||||
#include "MgmtErrorReporter.hpp"
|
#include "MgmtErrorReporter.hpp"
|
||||||
#include <NdbOut.hpp>
|
#include <NdbOut.hpp>
|
||||||
#include "ConfigInfo.hpp"
|
#include "ConfigInfo.hpp"
|
||||||
#include <stdarg.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <NdbString.h>
|
|
||||||
|
|
||||||
const int MAX_LINE_LENGTH = 120; // Max length of line of text in config file
|
const int MAX_LINE_LENGTH = 120; // Max length of line of text in config file
|
||||||
static void trim(char *);
|
static void trim(char *);
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include "NdbCondition.h"
|
#include "NdbCondition.h"
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <assert.h>
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include "NdbMem.h"
|
#include "NdbMem.h"
|
||||||
|
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
#if defined NDB_OSE
|
#if defined NDB_OSE
|
||||||
#include <ose.h>
|
#include <ose.h>
|
||||||
@ -134,7 +133,6 @@ int NdbMem_MemUnlockAll(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#include <assert.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
|
|
||||||
NdbMutex* NdbMutex_Create(void)
|
NdbMutex* NdbMutex_Create(void)
|
||||||
|
@ -14,12 +14,9 @@
|
|||||||
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 "NdbOut.hpp"
|
#include <ndb_global.h>
|
||||||
#include <NdbStdio.h>
|
|
||||||
#include <stdarg.h>
|
|
||||||
#include <NdbUnistd.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
|
#include "NdbOut.hpp"
|
||||||
|
|
||||||
#if defined NDB_SOFTOSE
|
#if defined NDB_SOFTOSE
|
||||||
#include <dbgprintf.h>
|
#include <dbgprintf.h>
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include "NdbThread.h"
|
#include "NdbThread.h"
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <assert.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <NdbOut.hpp>
|
#include <NdbOut.hpp>
|
||||||
|
|
||||||
|
@ -15,16 +15,10 @@
|
|||||||
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 <NdbCondition.h>
|
#include <ndb_global.h>
|
||||||
#include <pthread.h>
|
|
||||||
#include <assert.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
#if defined NDB_MACOSX
|
|
||||||
#include <stdlib.h>
|
|
||||||
#else
|
|
||||||
#include <malloc.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
#include <NdbCondition.h>
|
||||||
|
#include <NdbThread.h>
|
||||||
#include <NdbMutex.h>
|
#include <NdbMutex.h>
|
||||||
|
|
||||||
struct NdbCondition
|
struct NdbCondition
|
||||||
|
@ -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 <assert.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
#include "NdbDaemon.h"
|
#include "NdbDaemon.h"
|
||||||
|
|
||||||
#define NdbDaemon_ErrorSize 500
|
#define NdbDaemon_ErrorSize 500
|
||||||
|
@ -15,9 +15,9 @@
|
|||||||
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 "NdbEnv.h"
|
#include <ndb_global.h>
|
||||||
#include <string.h>
|
|
||||||
#include <stdlib.h>
|
#include <NdbEnv.h>
|
||||||
|
|
||||||
const char* NdbEnv_GetEnv(const char* name, char * buf, int buflen)
|
const char* NdbEnv_GetEnv(const char* name, char * buf, int buflen)
|
||||||
{
|
{
|
||||||
|
@ -15,14 +15,9 @@
|
|||||||
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 "NdbMem.h"
|
#include <ndb_global.h>
|
||||||
|
|
||||||
#include <assert.h>
|
#include <NdbMem.h>
|
||||||
#include <assert.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#ifndef NDB_MACOSX
|
|
||||||
#include <sys/mman.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void NdbMem_Create()
|
void NdbMem_Create()
|
||||||
{
|
{
|
||||||
|
@ -15,11 +15,10 @@
|
|||||||
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 "NdbMutex.h"
|
#include <ndb_global.h>
|
||||||
|
|
||||||
#include <pthread.h>
|
#include <NdbThread.h>
|
||||||
#include <stdlib.h>
|
#include <NdbMutex.h>
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
NdbMutex* NdbMutex_Create(void)
|
NdbMutex* NdbMutex_Create(void)
|
||||||
{
|
{
|
||||||
|
@ -15,16 +15,10 @@
|
|||||||
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 "NdbThread.h"
|
#include "NdbThread.h"
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#ifdef NDB_MACOSX
|
|
||||||
#include <stdlib.h>
|
|
||||||
#else
|
|
||||||
#include <malloc.h>
|
|
||||||
#endif
|
|
||||||
#include <assert.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <NdbStdio.h>
|
|
||||||
|
|
||||||
#define MAX_THREAD_NAME 16
|
#define MAX_THREAD_NAME 16
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#include <ws2tcpip.h>
|
#include <ws2tcpip.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <assert.h>
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#include "NdbCondition.h"
|
#include "NdbCondition.h"
|
||||||
|
@ -16,8 +16,6 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <assert.h>
|
|
||||||
#include <NdbStdio.h>
|
|
||||||
|
|
||||||
#include "NdbMem.h"
|
#include "NdbMem.h"
|
||||||
|
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
#include <ws2tcpip.h>
|
#include <ws2tcpip.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
#include "NdbMutex.h"
|
#include "NdbMutex.h"
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <process.h>
|
#include <process.h>
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
#include "NdbThread.h"
|
#include "NdbThread.h"
|
||||||
|
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
#include "TransporterCallback.hpp"
|
#include "TransporterCallback.hpp"
|
||||||
#include <TransporterRegistry.hpp>
|
#include <TransporterRegistry.hpp>
|
||||||
#include "TransporterInternalDefinitions.hpp"
|
#include "TransporterInternalDefinitions.hpp"
|
||||||
#include <NdbStdio.h>
|
|
||||||
|
|
||||||
OSE_Receiver::OSE_Receiver(TransporterRegistry * tr,
|
OSE_Receiver::OSE_Receiver(TransporterRegistry * tr,
|
||||||
int _recBufSize,
|
int _recBufSize,
|
||||||
|
@ -23,11 +23,9 @@
|
|||||||
|
|
||||||
#include <NdbMutex.h>
|
#include <NdbMutex.h>
|
||||||
|
|
||||||
#include <NdbStdio.h>
|
|
||||||
#include <NdbHost.h>
|
#include <NdbHost.h>
|
||||||
#include <NdbOut.hpp>
|
#include <NdbOut.hpp>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
OSE_Transporter::OSE_Transporter(int _prioASignalSize,
|
OSE_Transporter::OSE_Transporter(int _prioASignalSize,
|
||||||
int _prioBSignalSize,
|
int _prioBSignalSize,
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#define SHM_BUFFER_HPP
|
#define SHM_BUFFER_HPP
|
||||||
|
|
||||||
#include <ndb_global.h>
|
#include <ndb_global.h>
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
#include <NdbSleep.h>
|
#include <NdbSleep.h>
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include "Transporter.hpp"
|
#include "Transporter.hpp"
|
||||||
#include "TransporterInternalDefinitions.hpp"
|
#include "TransporterInternalDefinitions.hpp"
|
||||||
#include <NdbStdio.h>
|
|
||||||
#include <NdbSleep.h>
|
#include <NdbSleep.h>
|
||||||
|
|
||||||
Transporter::Transporter(NodeId lNodeId, NodeId rNodeId,
|
Transporter::Transporter(NodeId lNodeId, NodeId rNodeId,
|
||||||
|
@ -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>
|
#include <ndb_global.h>
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
#include "TransporterRegistry.hpp"
|
#include "TransporterRegistry.hpp"
|
||||||
#include "TransporterInternalDefinitions.hpp"
|
#include "TransporterInternalDefinitions.hpp"
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
/* -*- c-basic-offset: 4; -*- */
|
/* -*- c-basic-offset: 4; -*- */
|
||||||
#include <ndb_global.h>
|
#include <ndb_global.h>
|
||||||
#include <BaseString.hpp>
|
#include <BaseString.hpp>
|
||||||
#include <stdarg.h>
|
|
||||||
|
|
||||||
BaseString::BaseString()
|
BaseString::BaseString()
|
||||||
{
|
{
|
||||||
@ -338,7 +337,6 @@ BaseString::trim(char * str, const char * delim){
|
|||||||
|
|
||||||
|
|
||||||
#ifdef TEST_BASE_STRING
|
#ifdef TEST_BASE_STRING
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
g++ -g -Wall -o tbs -DTEST_BASE_STRING -I$NDB_TOP/include/util \
|
g++ -g -Wall -o tbs -DTEST_BASE_STRING -I$NDB_TOP/include/util \
|
||||||
|
@ -15,10 +15,10 @@
|
|||||||
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 "InputStream.hpp"
|
#include "InputStream.hpp"
|
||||||
#include <socket_io.h>
|
#include <socket_io.h>
|
||||||
#include <assert.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
FileInputStream Stdin(stdin);
|
FileInputStream Stdin(stdin);
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#if defined NDB_OSE || defined NDB_SOFTOSE
|
#if defined NDB_OSE || defined NDB_SOFTOSE
|
||||||
|
|
||||||
#include <NdbOut.hpp>
|
#include <NdbOut.hpp>
|
||||||
#include <NdbStdio.h>
|
|
||||||
#include <ndb_types.h>
|
#include <ndb_types.h>
|
||||||
|
|
||||||
#include "ose.h"
|
#include "ose.h"
|
||||||
|
@ -14,11 +14,9 @@
|
|||||||
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 "NdbOut.hpp"
|
#include <ndb_global.h>
|
||||||
#include <NdbStdio.h>
|
|
||||||
#include <stdarg.h>
|
#include <NdbOut.hpp>
|
||||||
#include <NdbUnistd.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <OutputStream.hpp>
|
#include <OutputStream.hpp>
|
||||||
|
|
||||||
static FileOutputStream ndbouts_fileoutputstream(stdout);
|
static FileOutputStream ndbouts_fileoutputstream(stdout);
|
||||||
|
@ -286,7 +286,6 @@ NdbSqlUtil::cmpTimespec(const Uint32* p1, const Uint32* p2, Uint32 full, Uint32
|
|||||||
|
|
||||||
#ifdef NDB_SQL_UTIL_TEST
|
#ifdef NDB_SQL_UTIL_TEST
|
||||||
|
|
||||||
#include <assert.h>
|
|
||||||
#include <NdbTick.h>
|
#include <NdbTick.h>
|
||||||
#include <NdbOut.hpp>
|
#include <NdbOut.hpp>
|
||||||
|
|
||||||
|
@ -15,8 +15,9 @@
|
|||||||
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 <OutputStream.hpp>
|
#include <OutputStream.hpp>
|
||||||
#include <stdarg.h>
|
|
||||||
#include <socket_io.h>
|
#include <socket_io.h>
|
||||||
|
|
||||||
FileOutputStream::FileOutputStream(FILE * file){
|
FileOutputStream::FileOutputStream(FILE * file){
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <ndb_global.h>
|
#include <ndb_global.h>
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
#include "Parser.hpp"
|
#include "Parser.hpp"
|
||||||
#include <NdbOut.hpp>
|
#include <NdbOut.hpp>
|
||||||
|
@ -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>
|
#include <ndb_global.h>
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
#include <Properties.hpp>
|
#include <Properties.hpp>
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include <SimpleProperties.hpp>
|
#include <SimpleProperties.hpp>
|
||||||
#include <NdbOut.hpp>
|
#include <NdbOut.hpp>
|
||||||
#include <NdbTCP.h>
|
#include <NdbTCP.h>
|
||||||
#include <assert.h>
|
|
||||||
#include <UtilBuffer.hpp>
|
#include <UtilBuffer.hpp>
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <ndb_global.h>
|
#include <ndb_global.h>
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
#include "SocketServer.hpp"
|
#include "SocketServer.hpp"
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include <File.hpp>
|
#include <File.hpp>
|
||||||
|
|
||||||
#include <NdbOut.hpp>
|
#include <NdbOut.hpp>
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
typedef bool (*TESTFUNC)(const char*);
|
typedef bool (*TESTFUNC)(const char*);
|
||||||
|
|
||||||
|
@ -14,13 +14,11 @@
|
|||||||
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 <ndb_global.h>
|
||||||
|
|
||||||
#include <NdbTCP.h>
|
#include <NdbTCP.h>
|
||||||
#include <socket_io.h>
|
#include <socket_io.h>
|
||||||
#include <stdarg.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <NdbStdio.h>
|
|
||||||
#include <NdbOut.hpp>
|
#include <NdbOut.hpp>
|
||||||
#include <NdbString.h>
|
|
||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
int
|
int
|
||||||
|
@ -36,7 +36,6 @@
|
|||||||
|
|
||||||
/* RCSID("$KTH: strlcat.c,v 1.1 2000/08/16 01:23:47 lha Exp $"); */
|
/* RCSID("$KTH: strlcat.c,v 1.1 2000/08/16 01:23:47 lha Exp $"); */
|
||||||
|
|
||||||
//#include <NdbString.h>
|
|
||||||
|
|
||||||
#ifndef HAVE_STRLCAT
|
#ifndef HAVE_STRLCAT
|
||||||
|
|
||||||
|
@ -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>
|
#include <ndb_global.h>
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
#include "SimpleProperties.hpp"
|
#include "SimpleProperties.hpp"
|
||||||
#include <NdbOut.hpp>
|
#include <NdbOut.hpp>
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
#include "APIService.hpp"
|
#include "APIService.hpp"
|
||||||
#include "CPCD.hpp"
|
#include "CPCD.hpp"
|
||||||
#include <NdbMutex.h>
|
#include <NdbMutex.h>
|
||||||
#include <NdbStdio.h>
|
|
||||||
#include <OutputStream.hpp>
|
#include <OutputStream.hpp>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -15,11 +15,8 @@
|
|||||||
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 <NdbOut.hpp>
|
#include <NdbOut.hpp>
|
||||||
#include <NdbUnistd.h>
|
|
||||||
#include <NdbStdio.h>
|
|
||||||
#include <errno.h>
|
|
||||||
|
|
||||||
#include "APIService.hpp"
|
#include "APIService.hpp"
|
||||||
#include "CPCD.hpp"
|
#include "CPCD.hpp"
|
||||||
|
@ -14,9 +14,10 @@
|
|||||||
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 <ndb_global.h>
|
||||||
|
|
||||||
#include <NdbThread.h>
|
#include <NdbThread.h>
|
||||||
#include <NdbOut.hpp>
|
#include <NdbOut.hpp>
|
||||||
#include <NdbUnistd.h>
|
|
||||||
#include <NdbSleep.h>
|
#include <NdbSleep.h>
|
||||||
|
|
||||||
#include "CPCD.hpp"
|
#include "CPCD.hpp"
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
#include <ndb_global.h>
|
#include <ndb_global.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
#include <BaseString.hpp>
|
#include <BaseString.hpp>
|
||||||
#include <InputStream.hpp>
|
#include <InputStream.hpp>
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#define FS_BUFFER_HPP
|
#define FS_BUFFER_HPP
|
||||||
|
|
||||||
#include <ndb_global.h>
|
#include <ndb_global.h>
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
#define DEBUG(x)
|
#define DEBUG(x)
|
||||||
|
|
||||||
|
@ -14,11 +14,9 @@
|
|||||||
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 <assert.h>
|
|
||||||
#include "Restore.hpp"
|
#include "Restore.hpp"
|
||||||
#include "BackupFormat.hpp"
|
#include "BackupFormat.hpp"
|
||||||
#include <NdbTCP.h>
|
#include <NdbTCP.h>
|
||||||
#include <NdbStdio.h>
|
|
||||||
#include <OutputStream.hpp>
|
#include <OutputStream.hpp>
|
||||||
#include <Bitmask.hpp>
|
#include <Bitmask.hpp>
|
||||||
|
|
||||||
|
@ -17,16 +17,13 @@
|
|||||||
#ifndef RESTORE_H
|
#ifndef RESTORE_H
|
||||||
#define RESTORE_H
|
#define RESTORE_H
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <ndb_global.h>
|
||||||
#include <BackupFormat.hpp>
|
#include <BackupFormat.hpp>
|
||||||
#include <NdbApi.hpp>
|
#include <NdbApi.hpp>
|
||||||
#include <AttrType.hpp>
|
#include <AttrType.hpp>
|
||||||
|
|
||||||
#include <NdbOut.hpp>
|
#include <NdbOut.hpp>
|
||||||
#include "myVector.hpp"
|
#include "myVector.hpp"
|
||||||
#include <NdbStdio.h>
|
|
||||||
#include <NdbUnistd.h>
|
|
||||||
#include <NdbString.h>
|
|
||||||
|
|
||||||
#include <ndb_version.h>
|
#include <ndb_version.h>
|
||||||
#include <version.h>
|
#include <version.h>
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
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 <assert.h>
|
|
||||||
#include "Restore.hpp"
|
#include "Restore.hpp"
|
||||||
#include <getarg.h>
|
#include <getarg.h>
|
||||||
#include <NdbSleep.h>
|
#include <NdbSleep.h>
|
||||||
|
@ -14,10 +14,10 @@
|
|||||||
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 <ndb_global.h>
|
||||||
|
|
||||||
#include "DbUtil.hpp"
|
#include "DbUtil.hpp"
|
||||||
|
|
||||||
#include <new>
|
|
||||||
#include <stddef.h>
|
|
||||||
#include <ndb_version.h>
|
#include <ndb_version.h>
|
||||||
|
|
||||||
#include <signaldata/WaitGCP.hpp>
|
#include <signaldata/WaitGCP.hpp>
|
||||||
|
@ -23,20 +23,17 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <ndb_global.h>
|
||||||
|
|
||||||
#include "Error.hpp"
|
#include "Error.hpp"
|
||||||
#include "AsyncFile.hpp"
|
#include "AsyncFile.hpp"
|
||||||
|
|
||||||
#include <ErrorHandlingMacros.hpp>
|
#include <ErrorHandlingMacros.hpp>
|
||||||
#include <kernel_types.h>
|
#include <kernel_types.h>
|
||||||
#include <string.h>
|
|
||||||
#include <NdbMem.h>
|
#include <NdbMem.h>
|
||||||
#include <NdbThread.h>
|
#include <NdbThread.h>
|
||||||
#include <signaldata/FsOpenReq.hpp>
|
#include <signaldata/FsOpenReq.hpp>
|
||||||
|
|
||||||
#include <sys/stat.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
#include <errno.h>
|
|
||||||
|
|
||||||
#ifdef NDB_LINUX
|
#ifdef NDB_LINUX
|
||||||
// This is for pread and pwrite
|
// This is for pread and pwrite
|
||||||
#ifndef __USE_UNIX98
|
#ifndef __USE_UNIX98
|
||||||
@ -44,9 +41,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <NdbUnistd.h>
|
|
||||||
#if defined NDB_WIN32 || defined NDB_OSE || defined NDB_SOFTOSE
|
#if defined NDB_WIN32 || defined NDB_OSE || defined NDB_SOFTOSE
|
||||||
#include <NdbStdio.h>
|
|
||||||
#else
|
#else
|
||||||
// For readv and writev
|
// For readv and writev
|
||||||
#include <sys/uio.h>
|
#include <sys/uio.h>
|
||||||
|
@ -52,8 +52,8 @@
|
|||||||
//
|
//
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
#include <ndb_global.h>
|
||||||
#include <kernel_types.h>
|
#include <kernel_types.h>
|
||||||
#include <NdbUnistd.h>
|
|
||||||
|
|
||||||
class Filename
|
class Filename
|
||||||
{
|
{
|
||||||
|
@ -76,7 +76,6 @@
|
|||||||
#include "NdbCondition.h"
|
#include "NdbCondition.h"
|
||||||
#include <NdbOut.hpp>
|
#include <NdbOut.hpp>
|
||||||
|
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
class MemoryChannel
|
class MemoryChannel
|
||||||
|
@ -65,7 +65,6 @@
|
|||||||
#include "NdbMutex.h"
|
#include "NdbMutex.h"
|
||||||
#include "NdbCondition.h"
|
#include "NdbCondition.h"
|
||||||
|
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,8 +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 <limits.h>
|
#include <ndb_global.h>
|
||||||
#include <errno.h>
|
|
||||||
|
|
||||||
#include "Ndbfs.hpp"
|
#include "Ndbfs.hpp"
|
||||||
#include "AsyncFile.hpp"
|
#include "AsyncFile.hpp"
|
||||||
|
@ -15,17 +15,16 @@
|
|||||||
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 "Error.hpp"
|
#include "Error.hpp"
|
||||||
#include "ErrorReporter.hpp"
|
#include "ErrorReporter.hpp"
|
||||||
#include "ErrorMessages.hpp"
|
#include "ErrorMessages.hpp"
|
||||||
|
|
||||||
#include <FastScheduler.hpp>
|
#include <FastScheduler.hpp>
|
||||||
#include <DebuggerNames.hpp>
|
#include <DebuggerNames.hpp>
|
||||||
#include <NdbUnistd.h>
|
|
||||||
#include <NdbStdio.h>
|
|
||||||
#include <NdbHost.h>
|
#include <NdbHost.h>
|
||||||
#include <NdbConfig.h>
|
#include <NdbConfig.h>
|
||||||
#include <string.h>
|
|
||||||
#include <Configuration.hpp>
|
#include <Configuration.hpp>
|
||||||
|
|
||||||
#define MESSAGE_LENGTH 400
|
#define MESSAGE_LENGTH 400
|
||||||
|
@ -14,6 +14,8 @@
|
|||||||
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 <ndb_global.h>
|
||||||
|
|
||||||
#include <ndb_version.h>
|
#include <ndb_version.h>
|
||||||
#include "Configuration.hpp"
|
#include "Configuration.hpp"
|
||||||
#include <TransporterRegistry.hpp>
|
#include <TransporterRegistry.hpp>
|
||||||
@ -32,7 +34,6 @@
|
|||||||
#include <NodeState.hpp>
|
#include <NodeState.hpp>
|
||||||
|
|
||||||
#if defined NDB_SOLARIS
|
#if defined NDB_SOLARIS
|
||||||
#include <sys/types.h> // For system information
|
|
||||||
#include <sys/processor.h> // For system informatio
|
#include <sys/processor.h> // For system informatio
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -42,7 +43,6 @@
|
|||||||
|
|
||||||
extern EventLogger g_eventLogger;
|
extern EventLogger g_eventLogger;
|
||||||
#if defined (NDB_LINUX) || defined (NDB_SOLARIS)
|
#if defined (NDB_LINUX) || defined (NDB_SOLARIS)
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -17,12 +17,12 @@
|
|||||||
#ifndef ARRAY_POOL_HPP
|
#ifndef ARRAY_POOL_HPP
|
||||||
#define ARRAY_POOL_HPP
|
#define ARRAY_POOL_HPP
|
||||||
|
|
||||||
|
#include <ndb_global.h>
|
||||||
|
|
||||||
#include <pc.hpp>
|
#include <pc.hpp>
|
||||||
#include <ErrorReporter.hpp>
|
#include <ErrorReporter.hpp>
|
||||||
#include <NdbMem.h>
|
#include <NdbMem.h>
|
||||||
#include <Bitmask.hpp>
|
#include <Bitmask.hpp>
|
||||||
#include <assert.h>
|
|
||||||
#include <stddef.h>
|
|
||||||
|
|
||||||
template <class T> class Array;
|
template <class T> class Array;
|
||||||
template <class T> class SLList;
|
template <class T> class SLList;
|
||||||
|
@ -14,6 +14,8 @@
|
|||||||
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 <ndb_global.h>
|
||||||
|
|
||||||
#include "ClusterConfiguration.hpp"
|
#include "ClusterConfiguration.hpp"
|
||||||
#include <ErrorHandlingMacros.hpp>
|
#include <ErrorHandlingMacros.hpp>
|
||||||
|
|
||||||
@ -27,9 +29,6 @@
|
|||||||
#include <signaldata/TupSizeAltReq.hpp>
|
#include <signaldata/TupSizeAltReq.hpp>
|
||||||
#include <signaldata/TuxSizeAltReq.hpp>
|
#include <signaldata/TuxSizeAltReq.hpp>
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
ClusterConfiguration::ClusterConfiguration()
|
ClusterConfiguration::ClusterConfiguration()
|
||||||
{
|
{
|
||||||
for (unsigned i= 0; i< MAX_SIZEALT_BLOCKS; i++) // initialize
|
for (unsigned i= 0; i< MAX_SIZEALT_BLOCKS; i++) // initialize
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
#include <NdbMem.h>
|
#include <NdbMem.h>
|
||||||
#include <NdbOut.hpp>
|
#include <NdbOut.hpp>
|
||||||
#include <WatchDog.hpp>
|
#include <WatchDog.hpp>
|
||||||
#include <NdbString.h>
|
|
||||||
|
|
||||||
#include <getarg.h>
|
#include <getarg.h>
|
||||||
|
|
||||||
|
@ -17,9 +17,8 @@
|
|||||||
#ifndef DL_HASHTABLE_HPP
|
#ifndef DL_HASHTABLE_HPP
|
||||||
#define DL_HASHTABLE_HPP
|
#define DL_HASHTABLE_HPP
|
||||||
|
|
||||||
|
#include <ndb_global.h>
|
||||||
#include "ArrayList.hpp"
|
#include "ArrayList.hpp"
|
||||||
#include <assert.h>
|
|
||||||
#include <stddef.h>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DLHashTable implements a hashtable using chaining
|
* DLHashTable implements a hashtable using chaining
|
||||||
|
@ -17,10 +17,9 @@
|
|||||||
#ifndef DL_HASHTABLE2_HPP
|
#ifndef DL_HASHTABLE2_HPP
|
||||||
#define DL_HASHTABLE2_HPP
|
#define DL_HASHTABLE2_HPP
|
||||||
|
|
||||||
|
#include <ndb_global.h>
|
||||||
|
|
||||||
#include "ArrayList.hpp"
|
#include "ArrayList.hpp"
|
||||||
#include <assert.h>
|
|
||||||
#include <stddef.h>
|
|
||||||
#include <new>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DLHashTable2 is a DLHashTable variant meant for cases where different
|
* DLHashTable2 is a DLHashTable variant meant for cases where different
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
#include <ndb_global.h>
|
#include <ndb_global.h>
|
||||||
#include <kernel_types.h>
|
#include <kernel_types.h>
|
||||||
#include <assert.h>
|
|
||||||
#include "Prio.hpp"
|
#include "Prio.hpp"
|
||||||
#include "VMSignal.hpp"
|
#include "VMSignal.hpp"
|
||||||
|
|
||||||
|
@ -14,6 +14,8 @@
|
|||||||
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 <ndb_global.h>
|
||||||
|
|
||||||
#include "SimulatedBlock.hpp"
|
#include "SimulatedBlock.hpp"
|
||||||
#include <NdbOut.hpp>
|
#include <NdbOut.hpp>
|
||||||
#include <GlobalData.hpp>
|
#include <GlobalData.hpp>
|
||||||
@ -24,8 +26,6 @@
|
|||||||
#include <SignalLoggerManager.hpp>
|
#include <SignalLoggerManager.hpp>
|
||||||
#include <FastScheduler.hpp>
|
#include <FastScheduler.hpp>
|
||||||
#include <NdbMem.h>
|
#include <NdbMem.h>
|
||||||
#include <NdbStdio.h>
|
|
||||||
#include <stdarg.h>
|
|
||||||
#include <signaldata/EventReport.hpp>
|
#include <signaldata/EventReport.hpp>
|
||||||
#include <signaldata/ContinueFragmented.hpp>
|
#include <signaldata/ContinueFragmented.hpp>
|
||||||
#include <signaldata/NodeStateSignalData.hpp>
|
#include <signaldata/NodeStateSignalData.hpp>
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <ndb_global.hpp>
|
#include <ndb_global.hpp>
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
#include <ArrayList.hpp>
|
#include <ArrayList.hpp>
|
||||||
#include <NdbOut.hpp>
|
#include <NdbOut.hpp>
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user