19 #include <trigger_definitions.h>
20 #include <signaldata/BackupImpl.hpp>
23 printDEFINE_BACKUP_REQ(FILE * out,
const Uint32 * data, Uint32 len, Uint16 bno){
25 fprintf(out,
" backupPtr: %d backupId: %d clientRef: %d clientData: %d\n",
26 sig->backupPtr, sig->backupId, sig->clientRef, sig->clientData);
27 fprintf(out,
" backupKey: [ %08x%08x ] DataLength: %d\n",
28 sig->backupKey[0], sig->backupKey[1], sig->backupDataLen);
29 char buf[_NDB_NODE_BITMASK_SIZE * 8 + 1];
30 fprintf(out,
" Nodes: %s\n", sig->nodes.
getText(buf));
35 printDEFINE_BACKUP_REF(FILE * out,
const Uint32 * data, Uint32 len, Uint16 bno){
37 fprintf(out,
" backupPtr: %d backupId: %d errorCode: %d\n",
38 sig->backupPtr, sig->backupId, sig->errorCode);
43 printDEFINE_BACKUP_CONF(FILE * out,
const Uint32 * data, Uint32 l, Uint16 bno){
45 fprintf(out,
" backupPtr: %d backupId: %d\n",
46 sig->backupPtr, sig->backupId);
51 printSTART_BACKUP_REQ(FILE * out,
const Uint32 * data, Uint32 l, Uint16 bno){
53 fprintf(out,
" backupPtr: %d backupId: %d\n",
54 sig->backupPtr, sig->backupId);
59 printSTART_BACKUP_REF(FILE * out,
const Uint32 * data, Uint32 len, Uint16 bno){
61 fprintf(out,
" backupPtr: %d backupId: %d errorCode: %d\n",
62 sig->backupPtr, sig->backupId, sig->errorCode);
67 printSTART_BACKUP_CONF(FILE * out,
const Uint32 * data, Uint32 l, Uint16 bno){
69 fprintf(out,
" backupPtr: %d backupId: %d\n",
70 sig->backupPtr, sig->backupId);
75 printBACKUP_FRAGMENT_REQ(FILE * out,
const Uint32 * data, Uint32 l, Uint16 bno){
77 fprintf(out,
" backupPtr: %d backupId: %d\n",
78 sig->backupPtr, sig->backupId);
79 fprintf(out,
" tableId: %d fragmentNo: %d (count = %d)\n",
80 sig->tableId, sig->fragmentNo, sig->count);
85 printBACKUP_FRAGMENT_REF(FILE * out,
const Uint32 * data, Uint32 l, Uint16 bno){
87 fprintf(out,
" backupPtr: %d backupId: %d nodeId: %d errorCode: %d\n",
88 sig->backupPtr, sig->backupId, sig->nodeId, sig->errorCode);
93 printBACKUP_FRAGMENT_CONF(FILE * out,
const Uint32 * data, Uint32 l, Uint16 b){
95 fprintf(out,
" backupPtr: %d backupId: %d\n",
96 sig->backupPtr, sig->backupId);
97 fprintf(out,
" tableId: %d fragmentNo: %d records: %llu bytes: %llu\n",
98 sig->tableId, sig->fragmentNo,
99 sig->noOfRecordsLow + (((Uint64)sig->noOfRecordsHigh) << 32),
100 sig->noOfBytesLow + (((Uint64)sig->noOfBytesHigh) << 32));
105 printSTOP_BACKUP_REQ(FILE * out,
const Uint32 * data, Uint32 l, Uint16 bno){
107 fprintf(out,
" backupPtr: %d backupId: %d\n",
108 sig->backupPtr, sig->backupId);
113 printSTOP_BACKUP_REF(FILE * out,
const Uint32 * data, Uint32 len, Uint16 bno){
115 fprintf(out,
" backupPtr: %d backupId: %d errorCode: %d\n",
116 sig->backupPtr, sig->backupId, sig->errorCode);
121 printSTOP_BACKUP_CONF(FILE * out,
const Uint32 * data, Uint32 l, Uint16 bno){
123 fprintf(out,
" backupPtr: %d backupId: %d\n",
124 sig->backupPtr, sig->backupId);
129 printBACKUP_STATUS_REQ(FILE *,
const Uint32 *, Uint32, Uint16){
134 printBACKUP_STATUS_CONF(FILE *,
const Uint32 *, Uint32, Uint16){