List:Commits« Previous MessageNext Message »
From:Magnus Svensson Date:March 26 2009 10:15am
Subject:bzr commit into mysql-5.1-telco-7.0 branch (msvensson:2961)
View as plain text  
#At file:///home/msvensson/mysql/bug/43641/ based on
revid:msvensson@stripped

 2961 Magnus Svensson	2009-03-26
      ndb_mgmd - fix three warnings about not using fixed format string

    modified:
      storage/ndb/src/mgmsrv/ConfigManager.cpp
=== modified file 'storage/ndb/src/mgmsrv/ConfigManager.cpp'
--- a/storage/ndb/src/mgmsrv/ConfigManager.cpp	2009-03-26 09:11:40 +0000
+++ b/storage/ndb/src/mgmsrv/ConfigManager.cpp	2009-03-26 09:15:15 +0000
@@ -335,7 +335,7 @@ ConfigManager::init(void)
 
   if (m_config_retriever.hasError())
   {
-    g_eventLogger->error(m_config_retriever.getErrorString());
+    g_eventLogger->error("%s", m_config_retriever.getErrorString());
     DBUG_RETURN(false);
   }
 
@@ -641,7 +641,7 @@ ConfigManager::config_ok(const Config* c
   assert(m_node_id);
   if (!m_config_retriever.verifyConfig(conf->m_configValues, m_node_id))
   {
-    g_eventLogger->error(m_config_retriever.getErrorString());
+    g_eventLogger->error("%s", m_config_retriever.getErrorString());
     return false;
   }
 
@@ -1777,7 +1777,7 @@ ConfigManager::fetch_config(void)
   m_config_retriever.disconnect();
 
   if (tmp == NULL) {
-    g_eventLogger->error(m_config_retriever.getErrorString());
+    g_eventLogger->error("%s", m_config_retriever.getErrorString());
     DBUG_RETURN(false);
   }
 


Attachment: [text/bzr-bundle] bzr/msvensson@mysql.com-20090326091515-33xr2o3os0uf2rp2.bundle
Thread
bzr commit into mysql-5.1-telco-7.0 branch (msvensson:2961)Magnus Svensson26 Mar 2009