19 #include <signaldata/UtilPrepare.hpp>
22 printUTIL_PREPARE_REQ(FILE* out,
const Uint32 * data, Uint32 len, Uint16
rec)
25 fprintf(out,
" senderRef: H'%.8x senderData: H'%.8x schemaTransId: H'%.8x\n",
34 printUTIL_PREPARE_CONF(FILE* out,
const Uint32 * data, Uint32 len, Uint16
rec)
37 fprintf(out,
" senderData: H'%.8x prepareId: %d\n",
44 printUTIL_PREPARE_REF(FILE* out,
const Uint32 * data, Uint32 len, Uint16
rec)
47 fprintf(out,
" senderData: H'%.8x, ", sig->senderData);
48 fprintf(out,
" error: %d, ", sig->errorCode);
50 fprintf(out,
" errorMsg: ");
51 switch(sig->errorCode) {
52 case UtilPrepareRef::NO_ERROR:
53 fprintf(out,
"No error");
55 case UtilPrepareRef::PREPARE_SEIZE_ERROR:
56 fprintf(out,
"Failed to seize Prepare record");
58 case UtilPrepareRef::PREPARED_OPERATION_SEIZE_ERROR:
59 fprintf(out,
"Failed to seize PreparedOperation record");
61 case UtilPrepareRef::DICT_TAB_INFO_ERROR:
62 fprintf(out,
"Failed to get table info from DICT");