List:Commits« Previous MessageNext Message »
From:tomas Date:March 22 2006 5:11pm
Subject:bk commit into 5.1 tree (tomas:1.2205)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of tomas. When tomas does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2205 06/03/22 18:10:56 tomas@stripped +1 -0
  ndb: added debug printout to track down a bug

  storage/ndb/src/kernel/blocks/suma/Suma.cpp
    1.40 06/03/22 18:10:50 tomas@stripped +18 -7
    ndb: added debug printout to track down a bug

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	tomas
# Host:	poseidon.ndb.mysql.com
# Root:	/home/tomas/mysql-5.1-new

--- 1.39/storage/ndb/src/kernel/blocks/suma/Suma.cpp	2006-03-11 07:15:54 +01:00
+++ 1.40/storage/ndb/src/kernel/blocks/suma/Suma.cpp	2006-03-22 18:10:50 +01:00
@@ -2565,9 +2565,10 @@
     return;
   }
  
-#ifdef VM_TRACE
-  ndbout_c("reportAllSubscribers");
-#endif
+//#ifdef VM_TRACE
+  ndbout_c("reportAllSubscribers  subPtr.i: %d  subPtr.p->n_subscribers: %d",
+           subPtr.i, subPtr.p->n_subscribers);
+//#endif
   SubTableData * data  = (SubTableData*)signal->getDataPtrSend();
   data->gci            = m_last_complete_gci + 1;
   data->tableId        = subPtr.p->m_tableId;
@@ -2588,18 +2589,28 @@
       data->senderData = i_subbPtr.p->m_senderData;
       sendSignal(i_subbPtr.p->m_senderRef, GSN_SUB_TABLE_DATA, signal,
                  SubTableData::SignalLength, JBB);
+//#ifdef VM_TRACE
+      ndbout_c("sent %s(%d) to node %d, req_nodeid: %d  senderData: %d",
+               table_event == NdbDictionary::Event::_TE_SUBSCRIBE ?
+               "SUBSCRIBE" : "UNSUBSCRIBE", (int) table_event,
+               refToNode(i_subbPtr.p->m_senderRef),
+               data->req_nodeid, data->senderData
+               );
+//#endif
       if (i_subbPtr.i != subbPtr.i)
       {
         data->req_nodeid = refToNode(i_subbPtr.p->m_senderRef);
         data->senderData = subbPtr.p->m_senderData;
         sendSignal(subbPtr.p->m_senderRef, GSN_SUB_TABLE_DATA, signal,
                    SubTableData::SignalLength, JBB);
-#ifdef VM_TRACE
-        ndbout_c("sent %s(%d) to node %d",
+//#ifdef VM_TRACE
+        ndbout_c("sent %s(%d) to node %d, req_nodeid: %d  senderData: %d",
                  table_event == NdbDictionary::Event::_TE_SUBSCRIBE ?
                  "SUBSCRIBE" : "UNSUBSCRIBE", (int) table_event,
-                 refToNode(subbPtr.p->m_senderRef));
-#endif
+                 refToNode(subbPtr.p->m_senderRef),
+                 data->req_nodeid, data->senderData
+                 );
+//#endif
       }
     }
   }
Thread
bk commit into 5.1 tree (tomas:1.2205)tomas22 Mar