summaryrefslogtreecommitdiff
path: root/ndb/src/common/debugger/EventLogger.cpp
diff options
context:
space:
mode:
authormonty@mysql.com/nosik.monty.fi <>2006-11-20 22:42:06 +0200
committermonty@mysql.com/nosik.monty.fi <>2006-11-20 22:42:06 +0200
commite82587980037d3c27d84411c332d812d47f424bd (patch)
treec8a26659fd67578dcb2edfa68c23c6ca4650fc4e /ndb/src/common/debugger/EventLogger.cpp
parent0f455a81dc2060811498cf1e18059d4f2c7ecd87 (diff)
downloadmariadb-git-e82587980037d3c27d84411c332d812d47f424bd.tar.gz
Remove compiler warnings
(Mostly in DBUG_PRINT() and unused arguments) Fixed bug in query cache when used with traceing (--with-debug) Fixed memory leak in mysqldump Removed warnings from mysqltest scripts (replaced -- with #)
Diffstat (limited to 'ndb/src/common/debugger/EventLogger.cpp')
-rw-r--r--ndb/src/common/debugger/EventLogger.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ndb/src/common/debugger/EventLogger.cpp b/ndb/src/common/debugger/EventLogger.cpp
index c6f02a7807a..8027a6bd347 100644
--- a/ndb/src/common/debugger/EventLogger.cpp
+++ b/ndb/src/common/debugger/EventLogger.cpp
@@ -116,8 +116,7 @@ void getTextNDBStopForced(QQQQ) {
int sphase = theData[4];
int extra = theData[5];
getRestartAction(theData[1],action_str);
- if (signal)
- reason_str.appfmt(" Initiated by signal %d.", signum);
+ reason_str.appfmt(" Initiated by signal %d.", signum);
if (error)
{
ndbd_exit_classification cl;