Commit 5fafed14 authored by unknown's avatar unknown
Browse files

Merge eel.(none):/home/jonas/src/mysql-4.1

into  eel.(none):/home/jonas/src/mysql-4.1-push

parents d026dd0e f9d29cfe
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -215,5 +215,6 @@ GSN_PRINT_SIGNATURE(printSCAN_FRAGREQ);

GSN_PRINT_SIGNATURE(printCONTINUEB_NDBFS);
GSN_PRINT_SIGNATURE(printCONTINUEB_DBDIH);
GSN_PRINT_SIGNATURE(printSTART_FRAG_REQ);

#endif
+2 −0
Original line number Diff line number Diff line
@@ -32,6 +32,8 @@ class StartFragReq {
public:
  STATIC_CONST( SignalLength = 19 );

  friend bool printSTART_FRAG_REQ(FILE *, const Uint32 *, Uint32, Uint16);
  
private:
  Uint32 userPtr;
  Uint32 userRef;
+4 −2
Original line number Diff line number Diff line
@@ -585,11 +585,13 @@ EventLogger::getText(char * m_text, size_t m_text_len,
    BaseString::snprintf(m_text, 
	       m_text_len, 
	       "%sTable ID = %u, fragment ID = %u has completed LCP "
	       "on Node %u", 
	       "on Node %u maxGciStarted: %d maxGciCompleted: %d", 
	       theNodeId,
	       theData[2], 
	       theData[3], 
	       theData[1]);
	       theData[1],
	       theData[4],
	       theData[5]);
    break;
  case EventReport::TransReportCounters:
    // -------------------------------------------------------------------  
+1 −0
Original line number Diff line number Diff line
@@ -195,6 +195,7 @@ SignalDataPrintFunctions[] = {
  ,{ GSN_ACC_LOCKREQ, printACC_LOCKREQ }
  ,{ GSN_LQH_TRANSCONF, printLQH_TRANSCONF }
  ,{ GSN_SCAN_FRAGREQ, printSCAN_FRAGREQ }
  ,{ GSN_START_FRAGREQ, printSTART_FRAG_REQ }
  ,{ 0, 0 }
};

+25 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@

#include <RefConvert.hpp>
#include <signaldata/StartRec.hpp>
#include <signaldata/StartFragReq.hpp>

bool
printSTART_REC_REQ(FILE * output, 
@@ -50,3 +51,27 @@ printSTART_REC_CONF(FILE * output,

  return true;
}

bool 
printSTART_FRAG_REQ(FILE * output, 
		    const Uint32 * theData, 
		    Uint32 len, 
		    Uint16 recBlockNo)
{
  StartFragReq* sig = (StartFragReq*)theData;

  fprintf(output, " table: %d frag: %d lcpId: %d lcpNo: %d #nodes: %d \n",
	  sig->tableId, sig->fragId, sig->lcpId, sig->lcpNo, 
	  sig->noOfLogNodes);

  for(Uint32 i = 0; i<sig->noOfLogNodes; i++)
  {
    fprintf(output, " (node: %d startGci: %d lastGci: %d)",
	    sig->lqhLogNode[i],
	    sig->startGci[i],
	    sig->lastGci[i]);
  }
    
  fprintf(output, "\n");
  return true; 
}
Loading