19 #include <signaldata/DbinfoScan.hpp>
22 printDBINFO_SCAN(FILE* output,
const Uint32* theData, Uint32 len, Uint16)
25 fprintf(output,
" resultData: 0x%x", sig->resultData);
26 fprintf(output,
" transid: { 0x%x, 0x%x}", sig->transId[0], sig->transId[1]);
27 fprintf(output,
" resultRef: 0x%x", sig->resultRef);
28 fprintf(output,
"\n");
29 fprintf(output,
" tableId: %u", sig->tableId);
30 fprintf(output,
" colBitmap: { 0x%x, 0x%x }",
31 sig->colBitmap[0], sig->colBitmap[1]);
32 fprintf(output,
" requestInfo: 0x%x", sig->requestInfo);
33 fprintf(output,
"\n");
34 fprintf(output,
" maxRows: %u", sig->maxRows);
35 fprintf(output,
" maxBytes: %u", sig->maxBytes);
36 fprintf(output,
"\n");
37 fprintf(output,
" returnedRows: %u", sig->returnedRows);
38 fprintf(output,
"\n");
39 fprintf(output,
" cursor_sz: %u\n", sig->cursor_sz);
40 const Uint32* cursor_data = DbinfoScan::getCursorPtr(sig);
41 fprintf(output,
" senderRef: 0x%x saveSenderRef: 0x%x\n",
42 cursor_data[0], cursor_data[1]);
43 fprintf(output,
" currRef: 0x%x saveCurrRef: 0x%x flags: 0x%x\n",
44 cursor_data[2], cursor_data[3], cursor_data[4]);
45 fprintf(output,
" data: [ 0x%x, 0x%x, 0x%x, 0x%x ]\n",
46 cursor_data[5], cursor_data[6], cursor_data[7], cursor_data[8]);
47 fprintf(output,
" totalRows: %u totalBytes: %u\n",
48 cursor_data[9], cursor_data[10]);
52 bool printDBINFO_SCAN_REF(FILE* output,
const Uint32* theData, Uint32 len, Uint16)
55 fprintf(output,
" resultData: 0x%x", sig->resultData);
56 fprintf(output,
" transid: { 0x%x, 0x%x}", sig->transId[0], sig->transId[1]);
57 fprintf(output,
" resultRef: 0x%x", sig->resultRef);
58 fprintf(output,
"\n");
59 fprintf(output,
" errorCode: %u", sig->errorCode);
60 fprintf(output,
"\n");