diff options
author | unknown <stewart@flamingspork.com[stewart]> | 2007-10-03 16:16:48 +1000 |
---|---|---|
committer | unknown <stewart@flamingspork.com[stewart]> | 2007-10-03 16:16:48 +1000 |
commit | 085eac750219572e65bc6d600f6dcd7cfb133663 (patch) | |
tree | 3e4206a841b4143ebc0e6643e50ed71412cd5f1e | |
parent | f263c2ffce3c3e2acf6c5ef958ef3e0b1598b5e1 (diff) | |
download | mariadb-git-085eac750219572e65bc6d600f6dcd7cfb133663.tar.gz |
[PATCH] BUG#29565 managment server can log entries multiple times after mgmd restart
Close the event log on shutdown of mgmd (in stopEventLog())
Index: ndb-work/ndb/src/mgmsrv/MgmtSrvr.cpp
===================================================================
ndb/src/mgmsrv/MgmtSrvr.cpp:
BUG#29565 managment server can log entries multiple times after mgmd restart
-rw-r--r-- | ndb/src/mgmsrv/MgmtSrvr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ndb/src/mgmsrv/MgmtSrvr.cpp b/ndb/src/mgmsrv/MgmtSrvr.cpp index 409694fead1..d68f42cbbb4 100644 --- a/ndb/src/mgmsrv/MgmtSrvr.cpp +++ b/ndb/src/mgmsrv/MgmtSrvr.cpp @@ -227,10 +227,10 @@ MgmtSrvr::startEventLog() } } -void -MgmtSrvr::stopEventLog() +void +MgmtSrvr::stopEventLog() { - // Nothing yet + g_eventLogger.close(); } class ErrorItem |