1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-16 20:23:18 +03:00

AIX compile fixes

This commit is contained in:
tomas@poseidon.ndb.mysql.com
2004-10-22 15:13:06 +00:00
parent c21b47540f
commit 48f1ee6acf
11 changed files with 23 additions and 18 deletions

View File

@@ -1,6 +1,8 @@
#ifndef NDB_UPGRADE_STARTUP
#define NDB_UPGRADE_STARTUP
class Ndbcntr;
struct UpgradeStartup {
static void installEXEC(SimulatedBlock*);

View File

@@ -13,6 +13,9 @@
#undef NDB_WIN32
#endif
#ifdef _AIX
#undef _H_STRINGS
#endif
#include <m_string.h>
#include <m_ctype.h>
#include <ndb_types.h>

View File

@@ -33,7 +33,7 @@ typedef unsigned int UintR;
#ifdef __SIZE_TYPE__
typedef __SIZE_TYPE__ UintPtr;
#else
#include <my_global.h>
#include <ndb_global.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif

View File

@@ -881,6 +881,7 @@ class Table;
class BaseString;
class NdbEventOperation;
class NdbBlob;
class NdbReceiver;
typedef void (* NdbEventCallback)(NdbEventOperation*, Ndb*, void*);

View File

@@ -22,6 +22,8 @@
#include <ndb_global.h>
class Ndb;
class NdbConnection;
class NdbReceiver
{
friend class Ndb;

View File

@@ -32,6 +32,7 @@
#include <NdbOperation.hpp>
class NdbBlob;
class NdbResultSet;
/**
* @class NdbScanOperation

View File

@@ -1,9 +1,6 @@
#include <ndb_global.h>
#include <ConfigValues.hpp>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <new>
#include <NdbOut.hpp>
#include <NdbTCP.h>

View File

@@ -91,7 +91,7 @@ class TupleS {
private:
friend class RestoreDataIterator;
TableS *m_currentTable;
class TableS *m_currentTable;
AttributeData *allAttrData;
bool prepareRecord(TableS &);

View File

@@ -35,14 +35,6 @@
#define ZMIN_PAGE_LIMIT_TUPKEYREQ 5
#define ZTUP_VERSION_BITS 15
typedef bool (Dbtup::* ReadFunction)(Uint32*,
AttributeHeader*,
Uint32,
Uint32);
typedef bool (Dbtup::* UpdateFunction)(Uint32*,
Uint32,
Uint32);
#ifdef DBTUP_C
//------------------------------------------------------------------
// Jam Handling:
@@ -351,6 +343,14 @@ typedef bool (Dbtup::* UpdateFunction)(Uint32*,
class Dbtup: public SimulatedBlock {
public:
typedef bool (Dbtup::* ReadFunction)(Uint32*,
AttributeHeader*,
Uint32,
Uint32);
typedef bool (Dbtup::* UpdateFunction)(Uint32*,
Uint32,
Uint32);
// State values
enum State {
NOT_INITIALIZED = 0,

View File

@@ -14,8 +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 "SignalQueue.hpp"
SignalQueue::SignalQueue() {

View File

@@ -15,8 +15,8 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <ndb_global.h>
#include <mgmapi.h>
#include <string.h>
#include <NdbMain.h>
#include <NdbOut.hpp>
#include <NdbSleep.h>