List:Commits« Previous MessageNext Message »
From:lzhou Date:October 13 2006 1:48pm
Subject:bk commit into 5.1 tree (lzhou:1.2299) BUG#21296
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of root. When root 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, 2006-10-13 13:48:04+00:00, lzhou@stripped +1 -0
  BUG#21296 Add error messages when upgrading data node

  storage/ndb/src/kernel/error/ErrorReporter.cpp@stripped, 2006-10-13 13:48:02+00:00, lzhou@stripped +5 -1
    Add error messages.

# 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:	lzhou
# Host:	dev3-138.dev.cn.tlan
# Root:	/home/zhl/mysql/mysql-5.1/bug21296-5.1.12

--- 1.15/storage/ndb/src/kernel/error/ErrorReporter.cpp	2006-10-13 13:48:11 +00:00
+++ 1.16/storage/ndb/src/kernel/error/ErrorReporter.cpp	2006-10-13 13:48:11 +00:00
@@ -25,6 +25,7 @@
 #include <NdbHost.h>
 #include <NdbConfig.h>
 #include <Configuration.hpp>
+#include "EventLogger.hpp"
 
 #include <NdbAutoPtr.hpp>
 
@@ -40,7 +41,7 @@
 		    Uint32 thrdTheEmulatedJamIndex, 
 		    Uint8 thrdTheEmulatedJam[]);
 
-
+extern EventLogger g_eventLogger;
 const char*
 ErrorReporter::formatTimeStampString(){
   TimeModule DateTime;          /* To create "theDateTimeString" */
@@ -195,6 +196,9 @@
 {
   WriteMessage(messageID, problemData,
 	       objRef, theEmulatedJamIndex, theEmulatedJam);
+
+  g_eventLogger.info(problemData);
+  g_eventLogger.info(objRef);
 
   childReportError(messageID);
 
Thread
bk commit into 5.1 tree (lzhou:1.2299) BUG#21296lzhou13 Oct