List:Commits« Previous MessageNext Message »
From:jonas Date:October 16 2007 1:46pm
Subject:bk commit into 5.1 tree (jonas:1.2163)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of jonas. When jonas 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@stripped, 2007-10-16 15:46:42+02:00, jonas@stripped +1 -0
  Add dates to some printouts

  storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp@stripped, 2007-10-16 15:46:40+02:00, jonas@stripped +5 -5
    Add dates to some printouts

# 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:	jonas
# Host:	perch.ndb.mysql.com
# Root:	/home/jonas/src/drop6

--- 1.28/storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp	2007-10-16 15:46:45 +02:00
+++ 1.29/storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp	2007-10-16 15:46:45 +02:00
@@ -865,8 +865,8 @@
      * Already completed GCI...
      *   Possible in case of resend during NF handling
      */
-    ndbout << "bucket == 0, gci:" << gci
-	   << " complete: " << m_complete_data << endl;
+    g_eventLogger.info("bucket == 0, gci: %u");
+    ndbout << " complete: " << m_complete_data << endl;
     for(Uint32 i = 0; i<m_active_gci.size(); i++)
     {
       ndbout << i << " - " << m_active_gci[i] << endl;
@@ -923,8 +923,8 @@
     else
     {
       /** out of order something */
-      ndbout_c("out of order bucket: %d gci: %lld m_latestGCI: %lld", 
-	       bucket-m_active_gci.getBase(), gci, m_latestGCI);
+      g_eventLogger.info("out of order bucket: %d gci: %lld m_latestGCI: %lld",
+                         bucket-m_active_gci.getBase(), gci, m_latestGCI);
       bucket->m_state = Gci_container::GC_COMPLETE;
       bucket->m_gcp_complete_rep_count = 1; // Prevent from being reused
       m_latest_complete_GCI = gci;
@@ -943,7 +943,7 @@
   const Uint32 size = m_active_gci.size();
   Gci_container* array= m_active_gci.getBase();
   
-  ndbout_c("complete_outof_order_gcis");
+  g_eventLogger.info("complete_outof_order_gcis");
   for(Uint32 i = 0; i<size; i++)
   {
     ndbout << i << " - " << array[i] << endl;
Thread
bk commit into 5.1 tree (jonas:1.2163)jonas16 Oct