19 #ifndef BACKUP_IMPL_HPP
20 #define BACKUP_IMPL_HPP
22 #include "SignalData.hpp"
23 #include <NodeBitmask.hpp>
37 friend bool printDEFINE_BACKUP_REQ(FILE *,
const Uint32 *, Uint32, Uint16);
39 STATIC_CONST( SignalLength = 9 + NdbNodeBitmask::Size);
88 friend bool printDEFINE_BACKUP_REF(FILE *,
const Uint32 *, Uint32, Uint16);
90 STATIC_CONST( SignalLength = 4 );
94 FailedToAllocateBuffers = 1342,
95 FailedToSetupFsBuffers = 1343,
96 FailedToAllocateTables = 1344,
97 FailedInsertFileHeader = 1345,
98 FailedInsertTableList = 1346,
99 FailedAllocateTableMem = 1347,
100 FailedToAllocateFileRecord = 1348,
101 FailedToAllocateAttributeRecord = 1349,
102 FailedForBackupFilesAleadyExist = 1350
123 friend bool printDEFINE_BACKUP_CONF(FILE *,
const Uint32 *, Uint32, Uint16);
125 STATIC_CONST( SignalLength = 2 );
143 friend bool printSTART_BACKUP_REQ(FILE *,
const Uint32 *, Uint32, Uint16);
146 STATIC_CONST( SignalLength = 2 );
164 friend bool printSTART_BACKUP_REF(FILE *,
const Uint32 *, Uint32, Uint16);
166 STATIC_CONST( SignalLength = 4 );
169 FailedToAllocateTriggerRecord = 1
189 friend bool printSTART_BACKUP_CONF(FILE *,
const Uint32 *, Uint32, Uint16);
191 STATIC_CONST( SignalLength = 2 );
210 friend bool printBACKUP_FRAGMENT_REQ(FILE *,
const Uint32 *, Uint32, Uint16);
212 STATIC_CONST( SignalLength = 5 );
234 friend bool printBACKUP_FRAGMENT_REF(FILE *,
const Uint32 *, Uint32, Uint16);
236 STATIC_CONST( SignalLength = 5 );
257 friend bool printBACKUP_FRAGMENT_CONF(FILE *,
const Uint32 *, Uint32, Uint16);
259 STATIC_CONST( SignalLength = 8 );
266 Uint32 noOfRecordsLow;
268 Uint32 noOfRecordsHigh;
269 Uint32 noOfBytesHigh;
274 STATIC_CONST( SignalLength = 8 );
280 Uint32 noOfTableRowsLow;
281 Uint32 noOfFragmentRowsLow;
282 Uint32 noOfTableRowsHigh;
283 Uint32 noOfFragmentRowsHigh;
297 friend bool printSTOP_BACKUP_REQ(FILE *,
const Uint32 *, Uint32, Uint16);
299 STATIC_CONST( SignalLength = 4 );
319 friend bool printSTOP_BACKUP_REF(FILE *,
const Uint32 *, Uint32, Uint16);
321 STATIC_CONST( SignalLength = 4 );
341 friend bool printSTOP_BACKUP_CONF(FILE *,
const Uint32 *, Uint32, Uint16);
343 STATIC_CONST( SignalLength = 4 );
349 Uint32 noOfLogRecords;
363 friend bool printBACKUP_STATUS_REQ(FILE *,
const Uint32 *, Uint32, Uint16);
365 STATIC_CONST( SignalLength = 1 );
381 friend bool printBACKUP_STATUS_CONF(FILE *,
const Uint32 *, Uint32, Uint16);
383 STATIC_CONST( SignalLength = 1 );