mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
27fa5d4853
ndb/include/kernel/signaldata/UpgradeStartup.hpp: Forward declaration ndb/include/ndb_global.h: Fix for AIX ndb/include/ndb_types.h: Always use ndb_global instead of my_global (or anything else) ndb/include/ndbapi/Ndb.hpp: Forward declaration ndb/include/ndbapi/NdbReceiver.hpp: Forward declaration ndb/include/ndbapi/NdbScanOperation.hpp: Forward declaration ndb/src/common/util/ConfigValues.cpp: Always use ndb_global instead of my_global (or anything else) ndb/src/kernel/blocks/backup/restore/Restore.hpp: Forward declaration ndb/src/kernel/blocks/dbtup/Dbtup.hpp: Move read/update function into Dbtup ndb/src/mgmsrv/SignalQueue.cpp: Always use ndb_global instead of my_global (or anything else) ndb/tools/waiter.cpp: Always use ndb_global instead of my_global (or anything else)
38 lines
1 KiB
C++
38 lines
1 KiB
C++
#ifndef NDB_UPGRADE_STARTUP
|
|
#define NDB_UPGRADE_STARTUP
|
|
|
|
class Ndbcntr;
|
|
|
|
struct UpgradeStartup {
|
|
|
|
static void installEXEC(SimulatedBlock*);
|
|
|
|
static const Uint32 GSN_CM_APPCHG = 131;
|
|
static const Uint32 GSN_CNTR_MASTERCONF = 148;
|
|
static const Uint32 GSN_CNTR_MASTERREF = 149;
|
|
static const Uint32 GSN_CNTR_MASTERREQ = 150;
|
|
|
|
static void sendCmAppChg(Ndbcntr&, Signal *, Uint32 startLevel);
|
|
static void execCM_APPCHG(SimulatedBlock& block, Signal*);
|
|
static void sendCntrMasterReq(Ndbcntr& cntr, Signal* signal, Uint32 n);
|
|
static void execCNTR_MASTER_REPLY(SimulatedBlock & block, Signal* signal);
|
|
|
|
struct CntrMasterReq {
|
|
STATIC_CONST( SignalLength = 4 + NdbNodeBitmask::Size );
|
|
|
|
Uint32 userBlockRef;
|
|
Uint32 userNodeId;
|
|
Uint32 typeOfStart;
|
|
Uint32 noRestartNodes;
|
|
Uint32 theNodes[NdbNodeBitmask::Size];
|
|
};
|
|
|
|
struct CntrMasterConf {
|
|
STATIC_CONST( SignalLength = 1 + NdbNodeBitmask::Size );
|
|
|
|
Uint32 noStartNodes;
|
|
Uint32 theNodes[NdbNodeBitmask::Size];
|
|
};
|
|
};
|
|
|
|
#endif
|